#997AF2#997AF2

#997AF2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.173 H 293.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#997AF2
RGBrgb(153, 122, 242)
HSLhsl(256, 82%, 71%)
HSVhsv(256, 50%, 95%)
CMYKcmyk(36.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(59.07, 38.59, -56.38)
CIE-LCHlch(59.07, 68.33, 304.39°)
OKLaboklab(66.29% 0.0676 -0.1595)
OKLCHoklch(66.29% 0.173 293)
XYZxyz(36.1192, 27.1013, 87.3153)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997AF2 #D3F27A
analogous
#7A97F2 #997AF2 #D57AF2
triadic
#997AF2 #F2997A #7AF299
tetradic
#997AF2 #F27A97 #D3F27A #7AF2D5
square
#997AF2 #F27A97 #D3F27A #7AF2D5
split-complementary
#997AF2 #F2D57A #97F27A
monochromatic
#4916DC #6E42ED #997AF2 #C4B2F7 #EAE3FC

Accessibility & contrast

On white

3.27
#997AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#997AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997AF2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997AF2#FFFFFF#000000##000000
##997AF21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#8392AB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997af2;
/* rgb */ color: rgb(153, 122, 242);
/* oklch */ color: oklch(66.3% 0.173 293.0);
Tailwind
colors: {
  custom: {
    50: '#bba1f7',
    500: '#997af2',
    950: '#000000',
  },
}
SCSS
$custom: #997af2;
$custom-light: #bba1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#997af2",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 255.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6629,
    "c": 0.17322,
    "h": 293
  },
  "luminance": 0.27102
}

Semantic roles & 50–950 ramp

primary
#997AF2
secondary
#EBF3D4
accent
#DF07A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #997AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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