#D25EC2#D25EC2

#D25EC2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.9% C 0.187 H 333.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D25EC2
RGBrgb(210, 94, 194)
HSLhsl(308, 56%, 60%)
HSVhsv(308, 55%, 82%)
CMYKcmyk(0%, 55.2%, 7.6%, 17.6%)
CIE-LABlab(57.66, 58.19, -31.16)
CIE-LCHlch(57.66, 66.00, 331.83°)
OKLaboklab(65.91% 0.1672 -0.0849)
OKLCHoklch(65.91% 0.187 333.1)
XYZxyz(40.3186, 25.6049, 53.8471)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D25EC2 #5ED26E
analogous
#A85ED2 #D25EC2 #D25E88
triadic
#D25EC2 #C2D25E #5EC2D2
tetradic
#D25EC2 #D2A85E #5ED26E #5E88D2
square
#D25EC2 #D2A85E #5ED26E #5E88D2
split-complementary
#D25EC2 #88D25E #5ED2A8
monochromatic
#8E2880 #BE35AB #D25EC2 #DF8ED4 #EDBEE6

Accessibility & contrast

On white

3.43
#D25EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D25EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D25EC2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D25EC2#FFFFFF#000000##000000
##D25EC21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#7E91BF
Tritanopia (blue-blind)
#DA6688
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d25ec2;
/* rgb */ color: rgb(210, 94, 194);
/* oklch */ color: oklch(65.9% 0.187 333.1);
Tailwind
colors: {
  custom: {
    50: '#e291d4',
    500: '#d25ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d25ec2;
$custom-light: #e291d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d25ec2",
  "rgb": {
    "r": 210,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 308.276,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.18747,
    "h": 333.1
  },
  "luminance": 0.25602
}

Semantic roles & 50–950 ramp

primary
#D25EC2
secondary
#AFDCB6
accent
#E05D48
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D25EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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