#D251CA#D251CA

#D251CA is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.213 H 330.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D251CA
RGBrgb(210, 81, 202)
HSLhsl(304, 59%, 57%)
HSVhsv(304, 61%, 82%)
CMYKcmyk(0%, 61.4%, 3.8%, 17.6%)
CIE-LABlab(55.94, 65.17, -38.42)
CIE-LCHlch(55.94, 75.65, 329.48°)
OKLaboklab(64.77% 0.1846 -0.1056)
OKLCHoklch(64.77% 0.213 330.2)
XYZxyz(40.1812, 23.8536, 58.3535)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251CA #51D259
analogous
#9A51D2 #D251CA #D2518A
triadic
#D251CA #CAD251 #51CAD2
tetradic
#D251CA #D29A51 #51D259 #518AD2
square
#D251CA #D29A51 #51D259 #518AD2
split-complementary
#D251CA #8AD251 #51D29A
monochromatic
#862380 #B72FAE #D251CA #DF82D9 #EBB2E8

Accessibility & contrast

On white

3.64
#D251CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D251CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251CA#FFFFFF#000000##000000
##D251CA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCE
Deuteranopia (green-blind)
#738CC7
Tritanopia (blue-blind)
#D95F86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d251ca;
/* rgb */ color: rgb(210, 81, 202);
/* oklch */ color: oklch(64.8% 0.213 330.2);
Tailwind
colors: {
  custom: {
    50: '#e38ada',
    500: '#d251ca',
    950: '#000000',
  },
}
SCSS
$custom: #d251ca;
$custom-light: #e38ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d251ca",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 303.721,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64771,
    "c": 0.21263,
    "h": 330.2
  },
  "luminance": 0.23851
}

Semantic roles & 50–950 ramp

primary
#D251CA
secondary
#A5DAA8
accent
#E24F46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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