#996ECA#996ECA

#996ECA is a mid, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.141 H 304.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#996ECA
RGBrgb(153, 110, 202)
HSLhsl(268, 46%, 61%)
HSVhsv(268, 46%, 79%)
CMYKcmyk(24.3%, 45.5%, 0%, 20.8%)
CIE-LABlab(54.23, 35.34, -41.60)
CIE-LCHlch(54.23, 54.59, 310.34°)
OKLaboklab(61.98% 0.079 -0.1163)
OKLCHoklch(61.98% 0.141 304.2)
XYZxyz(29.3712, 22.1885, 58.6011)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996ECA #9FCA6E
analogous
#6E71CA #996ECA #C76ECA
triadic
#996ECA #CA996E #6ECA99
tetradic
#996ECA #CA6E71 #9FCA6E #6ECAC7
square
#996ECA #CA6E71 #9FCA6E #6ECAC7
split-complementary
#996ECA #CAC76E #71CA6E
monochromatic
#5C338B #7A43B8 #996ECA #B99BDA #D8C8EB

Accessibility & contrast

On white

3.86
#996ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#996ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996ECA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996ECA#FFFFFF#000000##000000
##996ECA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#917E92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #996eca;
/* rgb */ color: rgb(153, 110, 202);
/* oklch */ color: oklch(62.0% 0.141 304.2);
Tailwind
colors: {
  custom: {
    50: '#b998da',
    500: '#996eca',
    950: '#000000',
  },
}
SCSS
$custom: #996eca;
$custom-light: #b998da;
$custom-dark: #000000;
JSON
{
  "hex": "#996eca",
  "rgb": {
    "r": 153,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 268.043,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.14058,
    "h": 304.2
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#996ECA
secondary
#CBDBB9
accent
#BA2C77
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #996ECA

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

Preview Lab → · Contrast checker → · Palette generator →

#996ECA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva