#997EDE#997EDE

#997EDE is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.9% C 0.141 H 295.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#997EDE
RGBrgb(153, 126, 222)
HSLhsl(257, 59%, 68%)
HSVhsv(257, 43%, 87%)
CMYKcmyk(31.1%, 43.2%, 0%, 12.9%)
CIE-LABlab(58.94, 31.13, -45.45)
CIE-LCHlch(58.94, 55.09, 304.41°)
OKLaboklab(65.86% 0.06 -0.1275)
OKLCHoklch(65.86% 0.141 295.2)
XYZxyz(33.7793, 26.9674, 72.5186)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EDE #C3DE7E
analogous
#7E93DE #997EDE #C97EDE
triadic
#997EDE #DE997E #7EDE99
tetradic
#997EDE #DE7E93 #C3DE7E #7EDEC9
square
#997EDE #DE7E93 #C3DE7E #7EDEC9
split-complementary
#997EDE #DEC97E #93DE7E
monochromatic
#542EB4 #724DD2 #997EDE #C0AFEA #E6DFF7

Accessibility & contrast

On white

3.28
#997EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#997EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EDE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EDE#FFFFFF#000000##000000
##997EDE1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#658CDC
Tritanopia (blue-blind)
#8A90A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997ede;
/* rgb */ color: rgb(153, 126, 222);
/* oklch */ color: oklch(65.9% 0.141 295.2);
Tailwind
colors: {
  custom: {
    50: '#b9a3e9',
    500: '#997ede',
    950: '#000000',
  },
}
SCSS
$custom: #997ede;
$custom-light: #b9a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#997ede",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 256.875,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65856,
    "c": 0.14094,
    "h": 295.2
  },
  "luminance": 0.26968
}

Semantic roles & 50–950 ramp

primary
#997EDE
secondary
#E2EACD
accent
#C71F98
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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