#DC96F2#DC96F2

#DC96F2 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.4% C 0.147 H 317.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#DC96F2
RGBrgb(220, 150, 242)
HSLhsl(286, 78%, 77%)
HSVhsv(286, 38%, 95%)
CMYKcmyk(9.1%, 38%, 0%, 5.1%)
CIE-LABlab(71.85, 41.60, -35.81)
CIE-LCHlch(71.85, 54.89, 319.28°)
OKLaboklab(77.41% 0.1087 -0.0984)
OKLCHoklch(77.41% 0.147 317.8)
XYZxyz(56.4463, 43.4407, 89.3986)
Luminance0.4344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96F2 #ACF296
analogous
#AE96F2 #DC96F2 #F296DA
triadic
#DC96F2 #F2DC96 #96F2DC
tetradic
#DC96F2 #F2AE96 #ACF296 #96DAF2
square
#DC96F2 #F2AE96 #ACF296 #96DAF2
split-complementary
#DC96F2 #DAF296 #96F2AE
monochromatic
#B829E5 #CA60EB #DC96F2 #EECCF9 #F6E4FC

Accessibility & contrast

On white

2.17
#DC96F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#DC96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96F2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96F2#FFFFFF#000000##000000
##DC96F21.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#DCA1B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc96f2;
/* rgb */ color: rgb(220, 150, 242);
/* oklch */ color: oklch(77.4% 0.147 317.8);
Tailwind
colors: {
  custom: {
    50: '#e8b6f6',
    500: '#dc96f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc96f2;
$custom-light: #e8b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96f2",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 285.652,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77411,
    "c": 0.14662,
    "h": 317.8
  },
  "luminance": 0.43439
}

Semantic roles & 50–950 ramp

primary
#DC96F2
secondary
#DEF3D8
accent
#DA0B3D
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DC96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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