#D23DFD#D23DFD

#D23DFD is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.9% C 0.277 H 317.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#D23DFD
RGBrgb(210, 61, 253)
HSLhsl(287, 98%, 62%)
HSVhsv(287, 76%, 99%)
CMYKcmyk(17%, 75.9%, 0%, 0.8%)
CIE-LABlab(56.22, 81.19, -66.69)
CIE-LCHlch(56.22, 105.07, 320.60°)
OKLaboklab(65.88% 0.2031 -0.1878)
OKLCHoklch(65.88% 0.277 317.2)
XYZxyz(45.9741, 24.1330, 95.1459)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23DFD #68FD3D
analogous
#723DFD #D23DFD #FD3DC8
triadic
#D23DFD #FDD23D #3DFDD2
tetradic
#D23DFD #FD723D #68FD3D #3DC8FD
square
#D23DFD #FD723D #68FD3D #3DC8FD
split-complementary
#D23DFD #C8FD3D #3DFD72
monochromatic
#9402BE #C303FA #D23DFD #E07AFE #EEB6FE

Accessibility & contrast

On white

3.60
#D23DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D23DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23DFD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23DFD#FFFFFF#000000##000000
##D23DFD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#D0689C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d23dfd;
/* rgb */ color: rgb(210, 61, 253);
/* oklch */ color: oklch(65.9% 0.277 317.2);
Tailwind
colors: {
  custom: {
    50: '#e582ff',
    500: '#d23dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d23dfd;
$custom-light: #e582ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d23dfd",
  "rgb": {
    "r": 210,
    "g": 61,
    "b": 253
  },
  "hsl": {
    "h": 286.563,
    "s": 97.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.27662,
    "h": 317.2
  },
  "luminance": 0.24131
}

Semantic roles & 50–950 ramp

primary
#D23DFD
secondary
#B7EFA7
accent
#E60033
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #D23DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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