#997DF6#997DF6

#997DF6 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.0% C 0.174 H 291.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#997DF6
RGBrgb(153, 125, 246)
HSLhsl(254, 87%, 73%)
HSVhsv(254, 49%, 96%)
CMYKcmyk(37.8%, 49.2%, 0%, 3.5%)
CIE-LABlab(59.97, 37.95, -57.15)
CIE-LCHlch(59.97, 68.60, 303.58°)
OKLaboklab(67.04% 0.0642 -0.1617)
OKLCHoklch(67.04% 0.174 291.7)
XYZxyz(37.1006, 28.0924, 90.6386)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF6 #DAF67D
analogous
#7D9EF6 #997DF6 #D57DF6
triadic
#997DF6 #F6997D #7DF699
tetradic
#997DF6 #F67D9E #DAF67D #7DF6D5
square
#997DF6 #F67D9E #DAF67D #7DF6D5
split-complementary
#997DF6 #F6D57D #9EF67D
monochromatic
#4210E9 #6C44F2 #997DF6 #C6B6FA #E9E2FD

Accessibility & contrast

On white

3.17
#997DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#997DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF6#FFFFFF#000000##000000
##997DF61.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92FA
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#8195AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997df6;
/* rgb */ color: rgb(153, 125, 246);
/* oklch */ color: oklch(67.0% 0.174 291.7);
Tailwind
colors: {
  custom: {
    50: '#bba3fa',
    500: '#997df6',
    950: '#000000',
  },
}
SCSS
$custom: #997df6;
$custom-light: #bba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#997df6",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 253.884,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67037,
    "c": 0.17402,
    "h": 291.7
  },
  "luminance": 0.28093
}

Semantic roles & 50–950 ramp

primary
#997DF6
secondary
#EEF5D6
accent
#E402AF
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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