#997EEF#997EEF

#997EEF is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.163 H 292.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#997EEF
RGBrgb(153, 126, 239)
HSLhsl(254, 78%, 72%)
HSVhsv(254, 47%, 94%)
CMYKcmyk(36%, 47.3%, 0%, 6.3%)
CIE-LABlab(59.82, 35.53, -53.52)
CIE-LCHlch(59.82, 64.24, 303.58°)
OKLaboklab(66.8% 0.0623 -0.1511)
OKLCHoklch(66.8% 0.163 292.4)
XYZxyz(36.1736, 27.9252, 85.1288)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EEF #D4EF7E
analogous
#7E9CEF #997EEF #D27EEF
triadic
#997EEF #EF997E #7EEF99
tetradic
#997EEF #EF7E9C #D4EF7E #7EEFD2
square
#997EEF #EF7E9C #D4EF7E #7EEFD2
split-complementary
#997EEF #EFD27E #9CEF7E
monochromatic
#481BD8 #6E48E8 #997EEF #C4B4F6 #E9E4FC

Accessibility & contrast

On white

3.19
#997EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#997EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EEF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EEF#FFFFFF#000000##000000
##997EEF1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#8494AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997eef;
/* rgb */ color: rgb(153, 126, 239);
/* oklch */ color: oklch(66.8% 0.163 292.4);
Tailwind
colors: {
  custom: {
    50: '#bba4f5',
    500: '#997eef',
    950: '#000000',
  },
}
SCSS
$custom: #997eef;
$custom-light: #bba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#997eef",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 254.336,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.16343,
    "h": 292.4
  },
  "luminance": 0.27926
}

Semantic roles & 50–950 ramp

primary
#997EEF
secondary
#ECF3D6
accent
#DA0BA9
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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