#996CDF#996CDF

#996CDF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.170 H 299.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#996CDF
RGBrgb(153, 108, 223)
HSLhsl(263, 64%, 65%)
HSVhsv(263, 52%, 87%)
CMYKcmyk(31.4%, 51.6%, 0%, 12.5%)
CIE-LABlab(54.89, 41.60, -52.44)
CIE-LCHlch(54.89, 66.94, 308.42°)
OKLaboklab(62.84% 0.0839 -0.1479)
OKLCHoklch(62.84% 0.17 299.6)
XYZxyz(31.8155, 22.8249, 72.5272)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#996CDF #B2DF6C
analogous
#6C79DF #996CDF #D26CDF
triadic
#996CDF #DF996C #6CDF99
tetradic
#996CDF #DF6C79 #B2DF6C #6CDFD2
square
#996CDF #DF6C79 #B2DF6C #6CDFD2
split-complementary
#996CDF #DFD26C #79DF6C
monochromatic
#5A25AB #763AD4 #996CDF #BC9EEA #DFD1F5

Accessibility & contrast

On white

3.77
#996CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#996CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #996CDF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##996CDF#FFFFFF#000000##000000
##996CDF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#4F82DC
Tritanopia (blue-blind)
#8B829B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #996cdf;
/* rgb */ color: rgb(153, 108, 223);
/* oklch */ color: oklch(62.8% 0.170 299.6);
Tailwind
colors: {
  custom: {
    50: '#ba97e9',
    500: '#996cdf',
    950: '#000000',
  },
}
SCSS
$custom: #996cdf;
$custom-light: #ba97e9;
$custom-dark: #000000;
JSON
{
  "hex": "#996cdf",
  "rgb": {
    "r": 153,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 263.478,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62838,
    "c": 0.17006,
    "h": 299.6
  },
  "luminance": 0.22825
}

Semantic roles & 50–950 ramp

primary
#996CDF
secondary
#D8E7C0
accent
#CC1986
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #996CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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