#997DF9#997DF9

#997DF9 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.178 H 291.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#997DF9
RGBrgb(153, 125, 249)
HSLhsl(254, 91%, 73%)
HSVhsv(254, 50%, 98%)
CMYKcmyk(38.6%, 49.8%, 0%, 2.4%)
CIE-LABlab(60.14, 38.74, -58.54)
CIE-LCHlch(60.14, 70.20, 303.50°)
OKLaboklab(67.22% 0.0645 -0.1658)
OKLCHoklch(67.22% 0.178 291.3)
XYZxyz(37.5648, 28.2781, 93.0832)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF9 #DDF97D
analogous
#7D9FF9 #997DF9 #D77DF9
triadic
#997DF9 #F9997D #7DF999
tetradic
#997DF9 #F97D9F #DDF97D #7DF9D7
square
#997DF9 #F97D9F #DDF97D #7DF9D7
split-complementary
#997DF9 #F9D77D #9FF97D
monochromatic
#3F0BF0 #6B42F6 #997DF9 #C7B7FC #E8E2FE

Accessibility & contrast

On white

3.16
#997DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#997DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF9#FFFFFF#000000##000000
##997DF91.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#8096AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997df9;
/* rgb */ color: rgb(153, 125, 249);
/* oklch */ color: oklch(67.2% 0.178 291.3);
Tailwind
colors: {
  custom: {
    50: '#bba3fc',
    500: '#997df9',
    950: '#000000',
  },
}
SCSS
$custom: #997df9;
$custom-light: #bba3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997df9",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 253.548,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67216,
    "c": 0.1779,
    "h": 291.3
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#997DF9
secondary
#EEF6D5
accent
#E600B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#997DF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva