#997EE5#997EE5

#997EE5 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.2% C 0.150 H 294.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#997EE5
RGBrgb(153, 126, 229)
HSLhsl(256, 66%, 70%)
HSVhsv(256, 45%, 90%)
CMYKcmyk(33.2%, 45%, 0%, 10.2%)
CIE-LABlab(59.30, 32.92, -48.80)
CIE-LCHlch(59.30, 58.86, 304.01°)
OKLaboklab(66.24% 0.0611 -0.1373)
OKLCHoklch(66.24% 0.15 294)
XYZxyz(34.7370, 27.3505, 77.5626)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE5 #CAE57E
analogous
#7E97E5 #997EE5 #CD7EE5
triadic
#997EE5 #E5997E #7EE599
tetradic
#997EE5 #E57E97 #CAE57E #7EE5CD
square
#997EE5 #E57E97 #CAE57E #7EE5CD
split-complementary
#997EE5 #E5CD7E #97E57E
monochromatic
#5027C2 #714BDB #997EE5 #C1B1EF #EAE4FA

Accessibility & contrast

On white

3.25
#997EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#997EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE5#FFFFFF#000000##000000
##997EE51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#8791A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997ee5;
/* rgb */ color: rgb(153, 126, 229);
/* oklch */ color: oklch(66.2% 0.150 294.0);
Tailwind
colors: {
  custom: {
    50: '#baa3ee',
    500: '#997ee5',
    950: '#000000',
  },
}
SCSS
$custom: #997ee5;
$custom-light: #baa3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee5",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 255.728,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66237,
    "c": 0.15025,
    "h": 294
  },
  "luminance": 0.27351
}

Semantic roles & 50–950 ramp

primary
#997EE5
secondary
#E6EED1
accent
#CE179E
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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