#997AFC#997AFC

#997AFC is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.186 H 291.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#997AFC
RGBrgb(153, 122, 252)
HSLhsl(254, 96%, 73%)
HSVhsv(254, 52%, 99%)
CMYKcmyk(39.3%, 51.6%, 0%, 1.2%)
CIE-LABlab(59.63, 41.24, -61.00)
CIE-LCHlch(59.63, 73.64, 304.06°)
OKLaboklab(66.89% 0.0683 -0.173)
OKLCHoklch(66.89% 0.186 291.5)
XYZxyz(37.6623, 27.7186, 95.4425)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AFC #DDFC7A
analogous
#7A9CFC #997AFC #DA7AFC
triadic
#997AFC #FC997A #7AFC99
tetradic
#997AFC #FC7A9C #DDFC7A #7AFCDA
square
#997AFC #FC7A9C #DDFC7A #7AFCDA
split-complementary
#997AFC #FCDA7A #9CFC7A
monochromatic
#3F06F6 #6B3EFB #997AFC #C7B6FD #E8E1FE

Accessibility & contrast

On white

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

On black

6.54
#997AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AFC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AFC#FFFFFF#000000##000000
##997AFC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#7F95B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997afc;
/* rgb */ color: rgb(153, 122, 252);
/* oklch */ color: oklch(66.9% 0.186 291.5);
Tailwind
colors: {
  custom: {
    50: '#bca1fe',
    500: '#997afc',
    950: '#000000',
  },
}
SCSS
$custom: #997afc;
$custom-light: #bca1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#997afc",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 254.308,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66894,
    "c": 0.18603,
    "h": 291.5
  },
  "luminance": 0.2772
}

Semantic roles & 50–950 ramp

primary
#997AFC
secondary
#EEF7D4
accent
#E600AF
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #997AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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