#997EF5#997EF5

#997EF5 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.171 H 291.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#997EF5
RGBrgb(153, 126, 245)
HSLhsl(254, 86%, 73%)
HSVhsv(254, 49%, 96%)
CMYKcmyk(37.6%, 48.6%, 0%, 3.9%)
CIE-LABlab(60.15, 37.11, -56.32)
CIE-LCHlch(60.15, 67.45, 303.38°)
OKLaboklab(67.15% 0.0629 -0.1593)
OKLCHoklch(67.15% 0.171 291.5)
XYZxyz(37.0747, 28.2856, 89.8748)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EF5 #DAF57E
analogous
#7E9FF5 #997EF5 #D47EF5
triadic
#997EF5 #F5997E #7EF599
tetradic
#997EF5 #F57E9F #DAF57E #7EF5D4
square
#997EF5 #F57E9F #DAF57E #7EF5D4
split-complementary
#997EF5 #F5D47E #9FF57E
monochromatic
#4212E7 #6C45F1 #997EF5 #C6B7F9 #E9E3FD

Accessibility & contrast

On white

3.15
#997EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#997EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EF5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EF5#FFFFFF#000000##000000
##997EF51.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#8196AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997ef5;
/* rgb */ color: rgb(153, 126, 245);
/* oklch */ color: oklch(67.2% 0.171 291.5);
Tailwind
colors: {
  custom: {
    50: '#bba4f9',
    500: '#997ef5',
    950: '#000000',
  },
}
SCSS
$custom: #997ef5;
$custom-light: #bba4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ef5",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 253.613,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6715,
    "c": 0.17127,
    "h": 291.5
  },
  "luminance": 0.28287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #997EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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