#D23EC2#D23EC2

#D23EC2 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.5% C 0.230 H 332.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D23EC2
RGBrgb(210, 62, 194)
HSLhsl(306, 62%, 53%)
HSVhsv(306, 70%, 82%)
CMYKcmyk(0%, 70.5%, 7.6%, 17.6%)
CIE-LABlab(53.00, 71.06, -38.45)
CIE-LCHlch(53.00, 80.79, 331.58°)
OKLaboklab(62.51% 0.2046 -0.1055)
OKLCHoklch(62.51% 0.23 332.7)
XYZxyz(38.0387, 21.0450, 53.0872)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23EC2 #3ED24E
analogous
#983ED2 #D23EC2 #D23E78
triadic
#D23EC2 #C2D23E #3EC2D2
tetradic
#D23EC2 #D2983E #3ED24E #3E78D2
square
#D23EC2 #D2983E #3ED24E #3E78D2
split-complementary
#D23EC2 #78D23E #3ED298
monochromatic
#791C6F #AB289D #D23EC2 #DE70D2 #E9A1E1

Accessibility & contrast

On white

4.03
#D23EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D23EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23EC2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23EC2#FFFFFF#000000##000000
##D23EC21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#6E86BE
Tritanopia (blue-blind)
#DB4D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d23ec2;
/* rgb */ color: rgb(210, 62, 194);
/* oklch */ color: oklch(62.5% 0.230 332.7);
Tailwind
colors: {
  custom: {
    50: '#e480d5',
    500: '#d23ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d23ec2;
$custom-light: #e480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d23ec2",
  "rgb": {
    "r": 210,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 306.486,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.2302,
    "h": 332.7
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#D23EC2
secondary
#96D69D
accent
#E55443
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D23EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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