#D251C8#D251C8

#D251C8 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.211 H 330.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D251C8
RGBrgb(210, 81, 200)
HSLhsl(305, 59%, 57%)
HSVhsv(305, 61%, 82%)
CMYKcmyk(0%, 61.4%, 4.8%, 17.6%)
CIE-LABlab(55.85, 64.84, -37.42)
CIE-LCHlch(55.85, 74.87, 330.01°)
OKLaboklab(64.67% 0.1844 -0.1027)
OKLCHoklch(64.67% 0.211 330.9)
XYZxyz(39.9459, 23.7595, 57.1145)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251C8 #51D25B
analogous
#9C51D2 #D251C8 #D25188
triadic
#D251C8 #C8D251 #51C8D2
tetradic
#D251C8 #D29C51 #51D25B #5188D2
square
#D251C8 #D29C51 #51D25B #5188D2
split-complementary
#D251C8 #88D251 #51D29C
monochromatic
#86237E #B72FAC #D251C8 #DF82D7 #EBB2E7

Accessibility & contrast

On white

3.65
#D251C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D251C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251C8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251C8#FFFFFF#000000##000000
##D251C81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACC
Deuteranopia (green-blind)
#748CC5
Tritanopia (blue-blind)
#DA5E85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d251c8;
/* rgb */ color: rgb(210, 81, 200);
/* oklch */ color: oklch(64.7% 0.211 330.9);
Tailwind
colors: {
  custom: {
    50: '#e38ad9',
    500: '#d251c8',
    950: '#000000',
  },
}
SCSS
$custom: #d251c8;
$custom-light: #e38ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#d251c8",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 304.651,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64671,
    "c": 0.21105,
    "h": 330.9
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#D251C8
secondary
#A5DAA9
accent
#E25246
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D251C8

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

Preview Lab → · Contrast checker → · Palette generator →

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