#D251C2#D251C2

#D251C2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.4% C 0.206 H 332.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D251C2
RGBrgb(210, 81, 194)
HSLhsl(307, 59%, 57%)
HSVhsv(307, 61%, 82%)
CMYKcmyk(0%, 61.4%, 7.6%, 17.6%)
CIE-LABlab(55.57, 63.88, -34.42)
CIE-LCHlch(55.57, 72.56, 331.68°)
OKLaboklab(64.38% 0.1837 -0.0941)
OKLCHoklch(64.38% 0.206 332.9)
XYZxyz(39.2584, 23.4845, 53.4937)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251C2 #51D261
analogous
#A251D2 #D251C2 #D25182
triadic
#D251C2 #C2D251 #51C2D2
tetradic
#D251C2 #D2A251 #51D261 #5182D2
square
#D251C2 #D2A251 #51D261 #5182D2
split-complementary
#D251C2 #82D251 #51D2A2
monochromatic
#86237A #B72FA6 #D251C2 #DF82D3 #EBB2E4

Accessibility & contrast

On white

3.69
#D251C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D251C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251C2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251C2#FFFFFF#000000##000000
##D251C21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#DB5B82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d251c2;
/* rgb */ color: rgb(210, 81, 194);
/* oklch */ color: oklch(64.4% 0.206 332.9);
Tailwind
colors: {
  custom: {
    50: '#e38ad5',
    500: '#d251c2',
    950: '#000000',
  },
}
SCSS
$custom: #d251c2;
$custom-light: #e38ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d251c2",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 307.442,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64378,
    "c": 0.20639,
    "h": 332.9
  },
  "luminance": 0.23482
}

Semantic roles & 50–950 ramp

primary
#D251C2
secondary
#A5DAAC
accent
#E25946
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D251C2

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

Preview Lab → · Contrast checker → · Palette generator →

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