#997DEB#997DEB

#997DEB is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.4% C 0.160 H 293.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#997DEB
RGBrgb(153, 125, 235)
HSLhsl(255, 73%, 71%)
HSVhsv(255, 47%, 92%)
CMYKcmyk(34.9%, 46.8%, 0%, 7.8%)
CIE-LABlab(59.38, 35.05, -52.01)
CIE-LCHlch(59.38, 62.72, 303.98°)
OKLaboklab(66.4% 0.0631 -0.1467)
OKLCHoklch(66.4% 0.16 293.3)
XYZxyz(35.4620, 27.4370, 82.0087)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997DEB #CFEB7D
analogous
#7D98EB #997DEB #D07DEB
triadic
#997DEB #EB997D #7DEB99
tetradic
#997DEB #EB7D98 #CFEB7D #7DEBD0
square
#997DEB #EB7D98 #CFEB7D #7DEBD0
split-complementary
#997DEB #EBD07D #98EB7D
monochromatic
#4C20CE #6F48E3 #997DEB #C3B2F3 #EAE4FB

Accessibility & contrast

On white

3.24
#997DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#997DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997DEB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997DEB#FFFFFF#000000##000000
##997DEB1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#8592A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #997deb;
/* rgb */ color: rgb(153, 125, 235);
/* oklch */ color: oklch(66.4% 0.160 293.3);
Tailwind
colors: {
  custom: {
    50: '#baa3f2',
    500: '#997deb',
    950: '#000000',
  },
}
SCSS
$custom: #997deb;
$custom-light: #baa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#997deb",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 255.273,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66398,
    "c": 0.15968,
    "h": 293.3
  },
  "luminance": 0.27438
}

Semantic roles & 50–950 ramp

primary
#997DEB
secondary
#E9F1D3
accent
#D510A3
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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