#D25CEC#D25CEC

#D25CEC is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.227 H 320.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D25CEC
RGBrgb(210, 92, 236)
HSLhsl(289, 79%, 64%)
HSVhsv(289, 61%, 93%)
CMYKcmyk(11%, 61%, 0%, 7.5%)
CIE-LABlab(59.36, 66.45, -52.21)
CIE-LCHlch(59.36, 84.51, 321.84°)
OKLaboklab(67.81% 0.1736 -0.1456)
OKLCHoklch(67.81% 0.227 320)
XYZxyz(45.5439, 27.4141, 82.2331)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D25CEC #76EC5C
analogous
#8A5CEC #D25CEC #EC5CBE
triadic
#D25CEC #ECD25C #5CECD2
tetradic
#D25CEC #EC8A5C #76EC5C #5CBEEC
square
#D25CEC #EC8A5C #76EC5C #5CBEEC
split-complementary
#D25CEC #BEEC5C #5CEC8A
monochromatic
#9B15B8 #C325E6 #D25CEC #E193F2 #F0CAF9

Accessibility & contrast

On white

3.24
#D25CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D25CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D25CEC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D25CEC#FFFFFF#000000##000000
##D25CEC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#D3739C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d25cec;
/* rgb */ color: rgb(210, 92, 236);
/* oklch */ color: oklch(67.8% 0.227 320.0);
Tailwind
colors: {
  custom: {
    50: '#e391f3',
    500: '#d25cec',
    950: '#000000',
  },
}
SCSS
$custom: #d25cec;
$custom-light: #e391f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d25cec",
  "rgb": {
    "r": 210,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 289.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67809,
    "c": 0.22657,
    "h": 320
  },
  "luminance": 0.27412
}

Semantic roles & 50–950 ramp

primary
#D25CEC
secondary
#C2EBB9
accent
#DB0A30
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D25CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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