#997EEC#997EEC

#997EEC is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.159 H 292.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#997EEC
RGBrgb(153, 126, 236)
HSLhsl(255, 74%, 71%)
HSVhsv(255, 47%, 93%)
CMYKcmyk(35.2%, 46.6%, 0%, 7.5%)
CIE-LABlab(59.66, 34.74, -52.11)
CIE-LCHlch(59.66, 62.63, 303.69°)
OKLaboklab(66.63% 0.062 -0.147)
OKLCHoklch(66.63% 0.159 292.9)
XYZxyz(35.7341, 27.7494, 82.8141)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EEC #D1EC7E
analogous
#7E9AEC #997EEC #D07EEC
triadic
#997EEC #EC997E #7EEC99
tetradic
#997EEC #EC7E9A #D1EC7E #7EECD0
square
#997EEC #EC7E9A #D1EC7E #7EECD0
split-complementary
#997EEC #ECD07E #9AEC7E
monochromatic
#4A1FD1 #6F49E4 #997EEC #C3B3F4 #EAE4FB

Accessibility & contrast

On white

3.21
#997EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#997EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EEC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EEC#FFFFFF#000000##000000
##997EEC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#5B8EE9
Tritanopia (blue-blind)
#8593AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997eec;
/* rgb */ color: rgb(153, 126, 236);
/* oklch */ color: oklch(66.6% 0.159 292.9);
Tailwind
colors: {
  custom: {
    50: '#baa4f3',
    500: '#997eec',
    950: '#000000',
  },
}
SCSS
$custom: #997eec;
$custom-light: #baa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997eec",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 254.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.15949,
    "h": 292.9
  },
  "luminance": 0.2775
}

Semantic roles & 50–950 ramp

primary
#997EEC
secondary
#EAF2D4
accent
#D60FA6
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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