#997DEE#997DEE

#997DEE is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.164 H 292.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#997DEE
RGBrgb(153, 125, 238)
HSLhsl(255, 77%, 71%)
HSVhsv(255, 47%, 93%)
CMYKcmyk(35.7%, 47.5%, 0%, 6.7%)
CIE-LABlab(59.54, 35.84, -53.42)
CIE-LCHlch(59.54, 64.33, 303.86°)
OKLaboklab(66.57% 0.0635 -0.1508)
OKLCHoklch(66.57% 0.164 292.8)
XYZxyz(35.8991, 27.6118, 84.3105)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DEE #D2EE7D
analogous
#7D99EE #997DEE #D17DEE
triadic
#997DEE #EE997D #7DEE99
tetradic
#997DEE #EE7D99 #D2EE7D #7DEED1
square
#997DEE #EE7D99 #D2EE7D #7DEED1
split-complementary
#997DEE #EED17D #99EE7D
monochromatic
#4A1CD5 #6F47E7 #997DEE #C3B3F5 #EAE4FB

Accessibility & contrast

On white

3.22
#997DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#997DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DEE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DEE#FFFFFF#000000##000000
##997DEE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#8493AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997dee;
/* rgb */ color: rgb(153, 125, 238);
/* oklch */ color: oklch(66.6% 0.164 292.8);
Tailwind
colors: {
  custom: {
    50: '#bba3f4',
    500: '#997dee',
    950: '#000000',
  },
}
SCSS
$custom: #997dee;
$custom-light: #bba3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#997dee",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 254.867,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6657,
    "c": 0.1636,
    "h": 292.8
  },
  "luminance": 0.27613
}

Semantic roles & 50–950 ramp

primary
#997DEE
secondary
#EBF2D5
accent
#D90CA6
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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