#997EE3#997EE3

#997EE3 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.1% C 0.148 H 294.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#997EE3
RGBrgb(153, 126, 227)
HSLhsl(256, 64%, 69%)
HSVhsv(256, 44%, 89%)
CMYKcmyk(32.6%, 44.5%, 0%, 11%)
CIE-LABlab(59.20, 32.41, -47.84)
CIE-LCHlch(59.20, 57.79, 304.11°)
OKLaboklab(66.13% 0.0608 -0.1345)
OKLCHoklch(66.13% 0.148 294.3)
XYZxyz(34.4593, 27.2395, 76.1004)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EE3 #C8E37E
analogous
#7E96E3 #997EE3 #CC7EE3
triadic
#997EE3 #E3997E #7EE399
tetradic
#997EE3 #E37E96 #C8E37E #7EE3CC
square
#997EE3 #E37E96 #C8E37E #7EE3CC
split-complementary
#997EE3 #E3CC7E #96E37E
monochromatic
#5129BD #714CD8 #997EE3 #C1B0EE #E9E3F9

Accessibility & contrast

On white

3.26
#997EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#997EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EE3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EE3#FFFFFF#000000##000000
##997EE31.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE7
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#8891A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997ee3;
/* rgb */ color: rgb(153, 126, 227);
/* oklch */ color: oklch(66.1% 0.148 294.3);
Tailwind
colors: {
  custom: {
    50: '#baa3ec',
    500: '#997ee3',
    950: '#000000',
  },
}
SCSS
$custom: #997ee3;
$custom-light: #baa3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#997ee3",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 256.04,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66127,
    "c": 0.1476,
    "h": 294.3
  },
  "luminance": 0.2724
}

Semantic roles & 50–950 ramp

primary
#997EE3
secondary
#E5EDD0
accent
#CC199C
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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