#997EDA#997EDA

#997EDA is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.6% C 0.136 H 296.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#997EDA
RGBrgb(153, 126, 218)
HSLhsl(258, 55%, 67%)
HSVhsv(258, 42%, 85%)
CMYKcmyk(29.8%, 42.2%, 0%, 14.5%)
CIE-LABlab(58.75, 30.12, -43.52)
CIE-LCHlch(58.75, 52.92, 304.69°)
OKLaboklab(65.64% 0.0594 -0.1219)
OKLCHoklch(65.64% 0.136 296)
XYZxyz(33.2495, 26.7555, 69.7287)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EDA #BFDA7E
analogous
#7E91DA #997EDA #C77EDA
triadic
#997EDA #DA997E #7EDA99
tetradic
#997EDA #DA7E91 #BFDA7E #7EDAC7
square
#997EDA #DA7E91 #BFDA7E #7EDAC7
split-complementary
#997EDA #DAC77E #91DA7E
monochromatic
#5531AC #734ECC #997EDA #BFAEE8 #E4DDF5

Accessibility & contrast

On white

3.31
#997EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#997EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EDA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EDA#FFFFFF#000000##000000
##997EDA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#8B8FA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #997eda;
/* rgb */ color: rgb(153, 126, 218);
/* oklch */ color: oklch(65.6% 0.136 296.0);
Tailwind
colors: {
  custom: {
    50: '#b9a3e6',
    500: '#997eda',
    950: '#000000',
  },
}
SCSS
$custom: #997eda;
$custom-light: #b9a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#997eda",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 257.609,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65643,
    "c": 0.13559,
    "h": 296
  },
  "luminance": 0.26756
}

Semantic roles & 50–950 ramp

primary
#997EDA
secondary
#E0E8CC
accent
#C32394
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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