#997DF2#997DF2

#997DF2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.169 H 292.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#997DF2
RGBrgb(153, 125, 242)
HSLhsl(254, 82%, 72%)
HSVhsv(254, 48%, 95%)
CMYKcmyk(36.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(59.75, 36.89, -55.29)
CIE-LCHlch(59.75, 66.47, 303.71°)
OKLaboklab(66.8% 0.0639 -0.1563)
OKLCHoklch(66.8% 0.169 292.2)
XYZxyz(36.4933, 27.8495, 87.4399)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF2 #D6F27D
analogous
#7D9CF2 #997DF2 #D47DF2
triadic
#997DF2 #F2997D #7DF299
tetradic
#997DF2 #F27D9C #D6F27D #7DF2D4
square
#997DF2 #F27D9C #D6F27D #7DF2D4
split-complementary
#997DF2 #F2D47D #9CF27D
monochromatic
#4616DE #6D45EC #997DF2 #C5B5F8 #E9E3FC

Accessibility & contrast

On white

3.20
#997DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#997DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF2#FFFFFF#000000##000000
##997DF21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#558EEF
Tritanopia (blue-blind)
#8394AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997df2;
/* rgb */ color: rgb(153, 125, 242);
/* oklch */ color: oklch(66.8% 0.169 292.2);
Tailwind
colors: {
  custom: {
    50: '#bba3f7',
    500: '#997df2',
    950: '#000000',
  },
}
SCSS
$custom: #997df2;
$custom-light: #bba3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#997df2",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 254.359,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.16883,
    "h": 292.2
  },
  "luminance": 0.2785
}

Semantic roles & 50–950 ramp

primary
#997DF2
secondary
#EDF4D7
accent
#DE07AB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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