#DC96DD#DC96DD

#DC96DD is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.5% C 0.125 H 326.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#DC96DD
RGBrgb(220, 150, 221)
HSLhsl(299, 51%, 73%)
HSVhsv(299, 32%, 87%)
CMYKcmyk(0.5%, 32.1%, 0%, 13.3%)
CIE-LABlab(71.04, 37.57, -25.55)
CIE-LCHlch(71.04, 45.44, 325.78°)
OKLaboklab(76.53% 0.1037 -0.0693)
OKLCHoklch(76.53% 0.125 326.2)
XYZxyz(53.4715, 42.2507, 73.7311)
Luminance0.4225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96DD #97DD96
analogous
#B896DD #DC96DD #DD96BA
triadic
#DC96DD #DDDC96 #96DDDC
tetradic
#DC96DD #DDB896 #97DD96 #96BADD
square
#DC96DD #DDB896 #97DD96 #96BADD
split-complementary
#DC96DD #BADD96 #96DDB8
monochromatic
#BA3DBC #CD68CE #DC96DD #EBC4EC #F7E8F8

Accessibility & contrast

On white

2.22
#DC96DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#DC96DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96DD
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96DD#FFFFFF#000000##000000
##DC96DD1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8E0
Deuteranopia (green-blind)
#A2B1DB
Tritanopia (blue-blind)
#E09CB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc96dd;
/* rgb */ color: rgb(220, 150, 221);
/* oklch */ color: oklch(76.5% 0.125 326.2);
Tailwind
colors: {
  custom: {
    50: '#e8b6e7',
    500: '#dc96dd',
    950: '#000000',
  },
}
SCSS
$custom: #dc96dd;
$custom-light: #e8b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96dd",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 299.155,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76533,
    "c": 0.12475,
    "h": 326.2
  },
  "luminance": 0.42249
}

Semantic roles & 50–950 ramp

primary
#DC96DD
secondary
#DDEFDC
accent
#BE2729
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC96DD

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

Preview Lab → · Contrast checker → · Palette generator →

#DC96DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva