#997EE8#997EE8

#997EE8 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.154 H 293.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#997EE8
RGBrgb(153, 126, 232)
HSLhsl(255, 70%, 70%)
HSVhsv(255, 46%, 91%)
CMYKcmyk(34.1%, 45.7%, 0%, 9%)
CIE-LABlab(59.45, 33.70, -50.22)
CIE-LCHlch(59.45, 60.48, 303.86°)
OKLaboklab(66.4% 0.0615 -0.1414)
OKLCHoklch(66.4% 0.154 293.5)
XYZxyz(35.1595, 27.5195, 79.7877)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE8 #CDE87E
analogous
#7E98E8 #997EE8 #CE7EE8
triadic
#997EE8 #E8997E #7EE899
tetradic
#997EE8 #E87E98 #CDE87E #7EE8CE
square
#997EE8 #E87E98 #CDE87E #7EE8CE
split-complementary
#997EE8 #E8CE7E #98E87E
monochromatic
#4D24C8 #704ADF #997EE8 #C2B2F1 #EAE5FA

Accessibility & contrast

On white

3.23
#997EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#997EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE8#FFFFFF#000000##000000
##997EE81.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#8692A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997ee8;
/* rgb */ color: rgb(153, 126, 232);
/* oklch */ color: oklch(66.4% 0.154 293.5);
Tailwind
colors: {
  custom: {
    50: '#baa4f0',
    500: '#997ee8',
    950: '#000000',
  },
}
SCSS
$custom: #997ee8;
$custom-light: #baa4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee8",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 255.283,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66404,
    "c": 0.15422,
    "h": 293.5
  },
  "luminance": 0.2752
}

Semantic roles & 50–950 ramp

primary
#997EE8
secondary
#E8F0D2
accent
#D214A1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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