#997DF8#997DF8

#997DF8 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.177 H 291.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#997DF8
RGBrgb(153, 125, 248)
HSLhsl(254, 90%, 73%)
HSVhsv(254, 50%, 97%)
CMYKcmyk(38.3%, 49.6%, 0%, 2.7%)
CIE-LABlab(60.08, 38.48, -58.08)
CIE-LCHlch(60.08, 69.67, 303.52°)
OKLaboklab(67.16% 0.0644 -0.1645)
OKLCHoklch(67.16% 0.177 291.4)
XYZxyz(37.4092, 28.2158, 92.2639)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DF8 #DCF87D
analogous
#7D9EF8 #997DF8 #D77DF8
triadic
#997DF8 #F8997D #7DF899
tetradic
#997DF8 #F87D9E #DCF87D #7DF8D7
square
#997DF8 #F87D9E #DCF87D #7DF8D7
split-complementary
#997DF8 #F8D77D #9EF87D
monochromatic
#400DEE #6B43F5 #997DF8 #C7B7FB #E8E2FD

Accessibility & contrast

On white

3.16
#997DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#997DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DF8
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DF8#FFFFFF#000000##000000
##997DF81.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#8096AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #997df8;
/* rgb */ color: rgb(153, 125, 248);
/* oklch */ color: oklch(67.2% 0.177 291.4);
Tailwind
colors: {
  custom: {
    50: '#bba3fb',
    500: '#997df8',
    950: '#000000',
  },
}
SCSS
$custom: #997df8;
$custom-light: #bba3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#997df8",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 253.659,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67156,
    "c": 0.17661,
    "h": 291.4
  },
  "luminance": 0.28217
}

Semantic roles & 50–950 ramp

primary
#997DF8
secondary
#EEF6D5
accent
#E600B1
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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