#997EDD#997EDD

#997EDD is a light, vivid violet. Relative luminance 0.269; OKLCH L 65.8% C 0.140 H 295.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#997EDD
RGBrgb(153, 126, 221)
HSLhsl(257, 58%, 68%)
HSVhsv(257, 43%, 87%)
CMYKcmyk(30.8%, 43%, 0%, 13.3%)
CIE-LABlab(58.89, 30.88, -44.96)
CIE-LCHlch(58.89, 54.55, 304.48°)
OKLaboklab(65.8% 0.0599 -0.1261)
OKLCHoklch(65.8% 0.14 295.4)
XYZxyz(33.6456, 26.9140, 71.8149)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997EDD #C2DD7E
analogous
#7E92DD #997EDD #C97EDD
triadic
#997EDD #DD997E #7EDD99
tetradic
#997EDD #DD7E92 #C2DD7E #7EDDC9
square
#997EDD #DD7E92 #C2DD7E #7EDDC9
split-complementary
#997EDD #DDC97E #92DD7E
monochromatic
#542FB2 #734ED0 #997EDD #BFAEEA #E6DFF7

Accessibility & contrast

On white

3.29
#997EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#997EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997EDD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997EDD#FFFFFF#000000##000000
##997EDD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE1
Deuteranopia (green-blind)
#668CDB
Tritanopia (blue-blind)
#8A8FA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997edd;
/* rgb */ color: rgb(153, 126, 221);
/* oklch */ color: oklch(65.8% 0.140 295.4);
Tailwind
colors: {
  custom: {
    50: '#b9a3e8',
    500: '#997edd',
    950: '#000000',
  },
}
SCSS
$custom: #997edd;
$custom-light: #b9a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#997edd",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 257.053,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65802,
    "c": 0.1396,
    "h": 295.4
  },
  "luminance": 0.26914
}

Semantic roles & 50–950 ramp

primary
#997EDD
secondary
#E2EACD
accent
#C62097
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #997EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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