#DC96DF#DC96DF

#DC96DF is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.6% C 0.127 H 325.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#DC96DF
RGBrgb(220, 150, 223)
HSLhsl(298, 53%, 73%)
HSVhsv(298, 33%, 87%)
CMYKcmyk(1.3%, 32.7%, 0%, 12.5%)
CIE-LABlab(71.12, 37.94, -26.54)
CIE-LCHlch(71.12, 46.30, 325.03°)
OKLaboklab(76.61% 0.1042 -0.0721)
OKLCHoklch(76.61% 0.127 325.3)
XYZxyz(53.7395, 42.3580, 75.1428)
Luminance0.4236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96DF #99DF96
analogous
#B796DF #DC96DF #DF96BD
triadic
#DC96DF #DFDC96 #96DFDC
tetradic
#DC96DF #DFB796 #99DF96 #96BDDF
square
#DC96DF #DFB796 #99DF96 #96BDDF
split-complementary
#DC96DF #BDDF96 #96DFB7
monochromatic
#BB3BC0 #CC67D1 #DC96DF #ECC5ED #F7E8F8

Accessibility & contrast

On white

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

On black

9.47
#DC96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96DF
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96DF#FFFFFF#000000##000000
##DC96DF1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A9E2
Deuteranopia (green-blind)
#A1B1DD
Tritanopia (blue-blind)
#E09DB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc96df;
/* rgb */ color: rgb(220, 150, 223);
/* oklch */ color: oklch(76.6% 0.127 325.3);
Tailwind
colors: {
  custom: {
    50: '#e8b6e9',
    500: '#dc96df',
    950: '#000000',
  },
}
SCSS
$custom: #dc96df;
$custom-light: #e8b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96df",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 297.534,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76613,
    "c": 0.12674,
    "h": 325.3
  },
  "luminance": 0.42356
}

Semantic roles & 50–950 ramp

primary
#DC96DF
secondary
#DDEFDC
accent
#C1252B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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