#997AF8#997AF8

#997AF8 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.6% C 0.181 H 292.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#997AF8
RGBrgb(153, 122, 248)
HSLhsl(255, 90%, 73%)
HSVhsv(255, 51%, 97%)
CMYKcmyk(38.3%, 50.8%, 0%, 2.7%)
CIE-LABlab(59.40, 40.18, -59.16)
CIE-LCHlch(59.40, 71.52, 304.18°)
OKLaboklab(66.65% 0.0681 -0.1676)
OKLCHoklch(66.65% 0.181 292.1)
XYZxyz(37.0351, 27.4677, 92.1393)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF8 #D9F87A
analogous
#7A9AF8 #997AF8 #D87AF8
triadic
#997AF8 #F8997A #7AF899
tetradic
#997AF8 #F87A9A #D9F87A #7AF8D8
square
#997AF8 #F87A9A #D9F87A #7AF8D8
split-complementary
#997AF8 #F8D87A #9AF87A
monochromatic
#430CEB #6C40F5 #997AF8 #C6B4FB #E9E2FD

Accessibility & contrast

On white

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

On black

6.49
#997AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF8#FFFFFF#000000##000000
##997AF81.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#4B8DF5
Tritanopia (blue-blind)
#8094AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997af8;
/* rgb */ color: rgb(153, 122, 248);
/* oklch */ color: oklch(66.6% 0.181 292.1);
Tailwind
colors: {
  custom: {
    50: '#bba1fb',
    500: '#997af8',
    950: '#000000',
  },
}
SCSS
$custom: #997af8;
$custom-light: #bba1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#997af8",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 254.762,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6665,
    "c": 0.18092,
    "h": 292.1
  },
  "luminance": 0.27469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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