#997EE2#997EE2

#997EE2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.1% C 0.146 H 294.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#997EE2
RGBrgb(153, 126, 226)
HSLhsl(256, 63%, 69%)
HSVhsv(256, 44%, 89%)
CMYKcmyk(32.3%, 44.2%, 0%, 11.4%)
CIE-LABlab(59.14, 32.15, -47.36)
CIE-LCHlch(59.14, 57.25, 304.17°)
OKLaboklab(66.07% 0.0606 -0.1331)
OKLCHoklch(66.07% 0.146 294.5)
XYZxyz(34.3217, 27.1844, 75.3756)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE2 #C7E27E
analogous
#7E95E2 #997EE2 #CB7EE2
triadic
#997EE2 #E2997E #7EE299
tetradic
#997EE2 #E27E95 #C7E27E #7EE2CB
square
#997EE2 #E27E95 #C7E27E #7EE2CB
split-complementary
#997EE2 #E2CB7E #95E27E
monochromatic
#512ABB #714CD7 #997EE2 #C1B0ED #E8E2F8

Accessibility & contrast

On white

3.26
#997EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#997EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE2#FFFFFF#000000##000000
##997EE21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#628DE0
Tritanopia (blue-blind)
#8891A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997ee2;
/* rgb */ color: rgb(153, 126, 226);
/* oklch */ color: oklch(66.1% 0.146 294.5);
Tailwind
colors: {
  custom: {
    50: '#baa3eb',
    500: '#997ee2',
    950: '#000000',
  },
}
SCSS
$custom: #997ee2;
$custom-light: #baa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee2",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 256.2,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66072,
    "c": 0.14627,
    "h": 294.5
  },
  "luminance": 0.27185
}

Semantic roles & 50–950 ramp

primary
#997EE2
secondary
#E5EDCF
accent
#CB1A9B
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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