#997AF5#997AF5

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

Color values

HEX#997AF5
RGBrgb(153, 122, 245)
HSLhsl(255, 86%, 72%)
HSVhsv(255, 50%, 96%)
CMYKcmyk(37.6%, 50.2%, 0%, 3.9%)
CIE-LABlab(59.24, 39.38, -57.78)
CIE-LCHlch(59.24, 69.92, 304.28°)
OKLaboklab(66.47% 0.0678 -0.1636)
OKLCHoklch(66.47% 0.177 292.5)
XYZxyz(36.5735, 27.2831, 89.7077)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF5 #D6F57A
analogous
#7A99F5 #997AF5 #D77AF5
triadic
#997AF5 #F5997A #7AF599
tetradic
#997AF5 #F57A99 #D6F57A #7AF5D7
square
#997AF5 #F57A99 #D6F57A #7AF5D7
split-complementary
#997AF5 #F5D77A #99F57A
monochromatic
#4611E3 #6D41F1 #997AF5 #C5B3F9 #E9E3FD

Accessibility & contrast

On white

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

On black

6.46
#997AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF5#FFFFFF#000000##000000
##997AF51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#8293AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997af5;
/* rgb */ color: rgb(153, 122, 245);
/* oklch */ color: oklch(66.5% 0.177 292.5);
Tailwind
colors: {
  custom: {
    50: '#bba1f9',
    500: '#997af5',
    950: '#000000',
  },
}
SCSS
$custom: #997af5;
$custom-light: #bba1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#997af5",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 255.122,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.17708,
    "h": 292.5
  },
  "luminance": 0.27284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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