#997DFD

A color in the Violet family

#997dfd is a color in the Violet family: RGB(153, 125, 253), HSL(253°, 97%, 74%), CMYK(40%, 51%, 0%, 1%). Closest named color: mediumpurple. Contrast is 3.13:1 on white and 6.71:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#997dfd
RGBrgb(153 125 253)
RGB (legacy)rgb(153, 125, 253)
RGB %rgb(60% 49% 99%)
HSLhsl(253 97% 74%)
HSV / HSBhsv(253, 51%, 99%)
HWBhwb(253 49% 1%)
CMYKcmyk(40%, 51%, 0%, 1%)
CIELAB (D50)lab(59.66 33.4 -61.19)
LCHlch(59.66 69.71 298.63)
OKLaboklab(0.6746 0.0648 -0.1712)
OKLCHoklch(0.6746 0.1831 290.73)
Decimal10059261

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.7
Closest web-safe color#9966ff
Hue253°
Saturation (HSL / HSV)97% / 51%
Lightness (HSL)74%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2853
Red / Green / Blue153 / 125 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.13:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 58.1 / -43.6 · As background with white / black text: Lc -63.5 / 45.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #997dfd;
  --color-brand-oklch: oklch(67.46% 0.1831 290.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(153 125 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#997dfd] text-[#997dfd] border-[#997dfd]">