#997DF4#997DF4

#997DF4 is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.171 H 291.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#997DF4
RGBrgb(153, 125, 244)
HSLhsl(254, 84%, 72%)
HSVhsv(254, 49%, 96%)
CMYKcmyk(37.3%, 48.8%, 0%, 4.3%)
CIE-LABlab(59.86, 37.42, -56.22)
CIE-LCHlch(59.86, 67.54, 303.64°)
OKLaboklab(66.92% 0.0641 -0.159)
OKLCHoklch(66.92% 0.171 291.9)
XYZxyz(36.7953, 27.9703, 89.0306)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF4 #D8F47D
analogous
#7D9CF4 #997DF4 #D57DF4
triadic
#997DF4 #F4997D #7DF499
tetradic
#997DF4 #F47D9C #D8F47D #7DF4D5
square
#997DF4 #F47D9C #D8F47D #7DF4D5
split-complementary
#997DF4 #F4D57D #9CF47D
monochromatic
#4413E3 #6D45EF #997DF4 #C5B5F9 #E9E3FD

Accessibility & contrast

On white

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

On black

6.59
#997DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF4
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF4#FFFFFF#000000##000000
##997DF41.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#538EF1
Tritanopia (blue-blind)
#8295AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #997df4;
/* rgb */ color: rgb(153, 125, 244);
/* oklch */ color: oklch(66.9% 0.171 291.9);
Tailwind
colors: {
  custom: {
    50: '#bba3f8',
    500: '#997df4',
    950: '#000000',
  },
}
SCSS
$custom: #997df4;
$custom-light: #bba3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#997df4",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 254.118,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66919,
    "c": 0.17143,
    "h": 291.9
  },
  "luminance": 0.27971
}

Semantic roles & 50–950 ramp

primary
#997DF4
secondary
#EDF5D6
accent
#E105AD
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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