#997EE6#997EE6

#997EE6 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.3% C 0.152 H 293.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#997EE6
RGBrgb(153, 126, 230)
HSLhsl(256, 68%, 70%)
HSVhsv(256, 45%, 90%)
CMYKcmyk(33.5%, 45.2%, 0%, 9.8%)
CIE-LABlab(59.35, 33.18, -49.27)
CIE-LCHlch(59.35, 59.40, 303.96°)
OKLaboklab(66.29% 0.0612 -0.1387)
OKLCHoklch(66.29% 0.152 293.8)
XYZxyz(34.8770, 27.4065, 78.3000)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE6 #CBE67E
analogous
#7E97E6 #997EE6 #CD7EE6
triadic
#997EE6 #E6997E #7EE699
tetradic
#997EE6 #E67E97 #CBE67E #7EE6CD
square
#997EE6 #E67E97 #CBE67E #7EE6CD
split-complementary
#997EE6 #E6CD7E #97E67E
monochromatic
#4F26C4 #704BDC #997EE6 #C2B1F0 #EAE5FA

Accessibility & contrast

On white

3.24
#997EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#997EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE6#FFFFFF#000000##000000
##997EE61.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90EA
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#8792A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997ee6;
/* rgb */ color: rgb(153, 126, 230);
/* oklch */ color: oklch(66.3% 0.152 293.8);
Tailwind
colors: {
  custom: {
    50: '#baa3ee',
    500: '#997ee6',
    950: '#000000',
  },
}
SCSS
$custom: #997ee6;
$custom-light: #baa3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee6",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 255.577,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.15157,
    "h": 293.8
  },
  "luminance": 0.27407
}

Semantic roles & 50–950 ramp

primary
#997EE6
secondary
#E7EFD1
accent
#CF169F
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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