#D23EC7#D23EC7

#D23EC7 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.8% C 0.234 H 331.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D23EC7
RGBrgb(210, 62, 199)
HSLhsl(304, 62%, 53%)
HSVhsv(304, 70%, 82%)
CMYKcmyk(0%, 70.5%, 5.2%, 17.6%)
CIE-LABlab(53.25, 71.82, -40.94)
CIE-LCHlch(53.25, 82.67, 330.32°)
OKLaboklab(62.77% 0.2049 -0.1127)
OKLCHoklch(62.77% 0.234 331.2)
XYZxyz(38.6097, 21.2734, 56.0944)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23EC7 #3ED249
analogous
#933ED2 #D23EC7 #D23E7D
triadic
#D23EC7 #C7D23E #3EC7D2
tetradic
#D23EC7 #D2933E #3ED249 #3E7DD2
square
#D23EC7 #D2933E #3ED249 #3E7DD2
split-complementary
#D23EC7 #7DD23E #3ED293
monochromatic
#791C72 #AB28A1 #D23EC7 #DE70D5 #E9A1E4

Accessibility & contrast

On white

4.00
#D23EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D23EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23EC7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23EC7#FFFFFF#000000##000000
##D23EC71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3272CB
Deuteranopia (green-blind)
#6B86C3
Tritanopia (blue-blind)
#DA4F7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d23ec7;
/* rgb */ color: rgb(210, 62, 199);
/* oklch */ color: oklch(62.8% 0.234 331.2);
Tailwind
colors: {
  custom: {
    50: '#e481d8',
    500: '#d23ec7',
    950: '#000000',
  },
}
SCSS
$custom: #d23ec7;
$custom-light: #e481d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d23ec7",
  "rgb": {
    "r": 210,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 304.459,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.23383,
    "h": 331.2
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#D23EC7
secondary
#96D69B
accent
#E54F43
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D23EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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