#997AF6#997AF6

#997AF6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.178 H 292.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#997AF6
RGBrgb(153, 122, 246)
HSLhsl(255, 87%, 72%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(37.8%, 50.4%, 0%, 3.5%)
CIE-LABlab(59.29, 39.65, -58.24)
CIE-LCHlch(59.29, 70.45, 304.25°)
OKLaboklab(66.53% 0.0679 -0.1649)
OKLCHoklch(66.53% 0.178 292.4)
XYZxyz(36.7265, 27.3443, 90.5139)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF6 #D7F67A
analogous
#7A99F6 #997AF6 #D77AF6
triadic
#997AF6 #F6997A #7AF699
tetradic
#997AF6 #F67A99 #D7F67A #7AF6D7
square
#997AF6 #F67A99 #D7F67A #7AF6D7
split-complementary
#997AF6 #F6D77A #99F67A
monochromatic
#4510E6 #6D41F2 #997AF6 #C5B3FA #E9E2FD

Accessibility & contrast

On white

3.25
#997AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#997AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF6#FFFFFF#000000##000000
##997AF61.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#8193AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997af6;
/* rgb */ color: rgb(153, 122, 246);
/* oklch */ color: oklch(66.5% 0.178 292.4);
Tailwind
colors: {
  custom: {
    50: '#bba1fa',
    500: '#997af6',
    950: '#000000',
  },
}
SCSS
$custom: #997af6;
$custom-light: #bba1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997af6",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 255,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.17836,
    "h": 292.4
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#997AF6
secondary
#EDF5D6
accent
#E402AB
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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