#D23EC5#D23EC5

#D23EC5 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.7% C 0.232 H 331.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D23EC5
RGBrgb(210, 62, 197)
HSLhsl(305, 62%, 53%)
HSVhsv(305, 70%, 82%)
CMYKcmyk(0%, 70.5%, 6.2%, 17.6%)
CIE-LABlab(53.15, 71.51, -39.95)
CIE-LCHlch(53.15, 81.91, 330.81°)
OKLaboklab(62.67% 0.2048 -0.1098)
OKLCHoklch(62.67% 0.232 331.8)
XYZxyz(38.3790, 21.1812, 54.8795)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23EC5 #3ED24B
analogous
#953ED2 #D23EC5 #D23E7B
triadic
#D23EC5 #C5D23E #3EC5D2
tetradic
#D23EC5 #D2953E #3ED24B #3E7BD2
square
#D23EC5 #D2953E #3ED24B #3E7BD2
split-complementary
#D23EC5 #7BD23E #3ED295
monochromatic
#791C71 #AB289F #D23EC5 #DE70D4 #E9A1E3

Accessibility & contrast

On white

4.01
#D23EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D23EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23EC5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23EC5#FFFFFF#000000##000000
##D23EC51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3472C9
Deuteranopia (green-blind)
#6C86C1
Tritanopia (blue-blind)
#DB4E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d23ec5;
/* rgb */ color: rgb(210, 62, 197);
/* oklch */ color: oklch(62.7% 0.232 331.8);
Tailwind
colors: {
  custom: {
    50: '#e480d7',
    500: '#d23ec5',
    950: '#000000',
  },
}
SCSS
$custom: #d23ec5;
$custom-light: #e480d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d23ec5",
  "rgb": {
    "r": 210,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 305.27,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.23237,
    "h": 331.8
  },
  "luminance": 0.21178
}

Semantic roles & 50–950 ramp

primary
#D23EC5
secondary
#96D69C
accent
#E55143
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D23EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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