#997DF5#997DF5

#997DF5 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.173 H 291.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#997DF5
RGBrgb(153, 125, 245)
HSLhsl(254, 86%, 73%)
HSVhsv(254, 49%, 96%)
CMYKcmyk(37.6%, 49%, 0%, 3.9%)
CIE-LABlab(59.92, 37.68, -56.69)
CIE-LCHlch(59.92, 68.07, 303.61°)
OKLaboklab(66.98% 0.0642 -0.1604)
OKLCHoklch(66.98% 0.173 291.8)
XYZxyz(36.9475, 28.0312, 89.8324)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF5 #D9F57D
analogous
#7D9DF5 #997DF5 #D57DF5
triadic
#997DF5 #F5997D #7DF599
tetradic
#997DF5 #F57D9D #D9F57D #7DF5D5
square
#997DF5 #F57D9D #D9F57D #7DF5D5
split-complementary
#997DF5 #F5D57D #9DF57D
monochromatic
#4312E6 #6C44F1 #997DF5 #C6B6F9 #E9E3FD

Accessibility & contrast

On white

3.18
#997DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#997DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF5#FFFFFF#000000##000000
##997DF51.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997df5;
/* rgb */ color: rgb(153, 125, 245);
/* oklch */ color: oklch(67.0% 0.173 291.8);
Tailwind
colors: {
  custom: {
    50: '#bba3f9',
    500: '#997df5',
    950: '#000000',
  },
}
SCSS
$custom: #997df5;
$custom-light: #bba3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#997df5",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 254,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.17272,
    "h": 291.8
  },
  "luminance": 0.28032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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