#997AF9#997AF9

#997AF9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.182 H 292.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#997AF9
RGBrgb(153, 122, 249)
HSLhsl(255, 91%, 73%)
HSVhsv(255, 51%, 98%)
CMYKcmyk(38.6%, 51%, 0%, 2.4%)
CIE-LABlab(59.46, 40.44, -59.63)
CIE-LCHlch(59.46, 72.05, 304.15°)
OKLaboklab(66.71% 0.0681 -0.169)
OKLCHoklch(66.71% 0.182 292)
XYZxyz(37.1907, 27.5299, 92.9585)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF9 #DAF97A
analogous
#7A9AF9 #997AF9 #D97AF9
triadic
#997AF9 #F9997A #7AF999
tetradic
#997AF9 #F97A9A #DAF97A #7AF9D9
square
#997AF9 #F97A9A #DAF97A #7AF9D9
split-complementary
#997AF9 #F9D97A #9AF97A
monochromatic
#420BEE #6C3FF6 #997AF9 #C6B5FC #E9E2FE

Accessibility & contrast

On white

3.23
#997AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#997AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF9#FFFFFF#000000##000000
##997AF91.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FD
Deuteranopia (green-blind)
#4A8DF6
Tritanopia (blue-blind)
#8094AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997af9;
/* rgb */ color: rgb(153, 122, 249);
/* oklch */ color: oklch(66.7% 0.182 292.0);
Tailwind
colors: {
  custom: {
    50: '#bca1fc',
    500: '#997af9',
    950: '#000000',
  },
}
SCSS
$custom: #997af9;
$custom-light: #bca1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#997af9",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 254.646,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66711,
    "c": 0.18221,
    "h": 292
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#997AF9
secondary
#EEF6D5
accent
#E600AD
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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