#997CEC#997CEC

#997CEC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.162 H 293.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#997CEC
RGBrgb(153, 124, 236)
HSLhsl(256, 75%, 71%)
HSVhsv(256, 47%, 93%)
CMYKcmyk(35.2%, 47.5%, 0%, 7.5%)
CIE-LABlab(59.20, 35.88, -52.85)
CIE-LCHlch(59.20, 63.88, 304.18°)
OKLaboklab(66.28% 0.0645 -0.1491)
OKLCHoklch(66.28% 0.162 293.4)
XYZxyz(35.4809, 27.2430, 82.7297)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997CEC #CFEC7C
analogous
#7C97EC #997CEC #D17CEC
triadic
#997CEC #EC997C #7CEC99
tetradic
#997CEC #EC7C97 #CFEC7C #7CECD1
square
#997CEC #EC7C97 #CFEC7C #7CECD1
split-complementary
#997CEC #ECD17C #97EC7C
monochromatic
#4C1ED0 #6F47E4 #997CEC #C3B1F4 #EAE4FB

Accessibility & contrast

On white

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

On black

6.45
#997CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997CEC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997CEC#FFFFFF#000000##000000
##997CEC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#598DE9
Tritanopia (blue-blind)
#8592A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #997cec;
/* rgb */ color: rgb(153, 124, 236);
/* oklch */ color: oklch(66.3% 0.162 293.4);
Tailwind
colors: {
  custom: {
    50: '#baa2f3',
    500: '#997cec',
    950: '#000000',
  },
}
SCSS
$custom: #997cec;
$custom-light: #baa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#997cec",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 255.536,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66282,
    "c": 0.16248,
    "h": 293.4
  },
  "luminance": 0.27244
}

Semantic roles & 50–950 ramp

primary
#997CEC
secondary
#E9F1D3
accent
#D70FA3
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #997CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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