#997CEB#997CEB

#997CEB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.2% C 0.161 H 293.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#997CEB
RGBrgb(153, 124, 235)
HSLhsl(256, 74%, 70%)
HSVhsv(256, 47%, 92%)
CMYKcmyk(34.9%, 47.2%, 0%, 7.8%)
CIE-LABlab(59.15, 35.62, -52.38)
CIE-LCHlch(59.15, 63.34, 304.22°)
OKLaboklab(66.22% 0.0644 -0.1477)
OKLCHoklch(66.22% 0.161 293.6)
XYZxyz(35.3360, 27.1850, 81.9667)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CEB #CEEB7C
analogous
#7C96EB #997CEB #D17CEB
triadic
#997CEB #EB997C #7CEB99
tetradic
#997CEB #EB7C96 #CEEB7C #7CEBD1
square
#997CEB #EB7C96 #CEEB7C #7CEBD1
split-complementary
#997CEB #EBD17C #96EB7C
monochromatic
#4D1FCD #7047E3 #997CEB #C2B1F3 #EAE4FB

Accessibility & contrast

On white

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

On black

6.44
#997CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CEB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CEB#FFFFFF#000000##000000
##997CEB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#5A8CE8
Tritanopia (blue-blind)
#8591A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997ceb;
/* rgb */ color: rgb(153, 124, 235);
/* oklch */ color: oklch(66.2% 0.161 293.6);
Tailwind
colors: {
  custom: {
    50: '#baa2f2',
    500: '#997ceb',
    950: '#000000',
  },
}
SCSS
$custom: #997ceb;
$custom-light: #baa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#997ceb",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 255.676,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66225,
    "c": 0.16118,
    "h": 293.6
  },
  "luminance": 0.27186
}

Semantic roles & 50–950 ramp

primary
#997CEB
secondary
#E9F1D2
accent
#D610A2
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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