#D23CD2#D23CD2

#D23CD2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.2% C 0.244 H 328.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D23CD2
RGBrgb(210, 60, 210)
HSLhsl(300, 63%, 53%)
HSVhsv(300, 71%, 82%)
CMYKcmyk(0%, 71.4%, 0%, 17.6%)
CIE-LABlab(53.59, 74.20, -46.70)
CIE-LCHlch(53.59, 87.68, 327.81°)
OKLaboklab(63.2% 0.207 -0.1294)
OKLCHoklch(63.2% 0.244 328)
XYZxyz(39.8266, 21.5894, 63.0298)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23CD2 #3CD23C
analogous
#873CD2 #D23CD2 #D23C87
triadic
#D23CD2 #D2D23C #3CD2D2
tetradic
#D23CD2 #D2873C #3CD23C #3C87D2
square
#D23CD2 #D2873C #3CD23C #3C87D2
split-complementary
#D23CD2 #87D23C #3CD287
monochromatic
#781C78 #AA27AA #D23CD2 #DD6EDD #E99FE9

Accessibility & contrast

On white

3.95
#D23CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D23CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23CD2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23CD2#FFFFFF#000000##000000
##D23CD21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D6
Deuteranopia (green-blind)
#6487CE
Tritanopia (blue-blind)
#D95384
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d23cd2;
/* rgb */ color: rgb(210, 60, 210);
/* oklch */ color: oklch(63.2% 0.244 328.0);
Tailwind
colors: {
  custom: {
    50: '#e480e0',
    500: '#d23cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d23cd2;
$custom-light: #e480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d23cd2",
  "rgb": {
    "r": 210,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.63204,
    "c": 0.24412,
    "h": 328
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#D23CD2
secondary
#94D594
accent
#E64242
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D23CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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