#D251C7#D251C7

#D251C7 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.210 H 331.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D251C7
RGBrgb(210, 81, 199)
HSLhsl(305, 59%, 57%)
HSVhsv(305, 61%, 82%)
CMYKcmyk(0%, 61.4%, 5.2%, 17.6%)
CIE-LABlab(55.80, 64.68, -36.93)
CIE-LCHlch(55.80, 74.48, 330.28°)
OKLaboklab(64.62% 0.1843 -0.1013)
OKLCHoklch(64.62% 0.21 331.2)
XYZxyz(39.8294, 23.7129, 56.5010)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D251C7 #51D25C
analogous
#9C51D2 #D251C7 #D25187
triadic
#D251C7 #C7D251 #51C7D2
tetradic
#D251C7 #D29C51 #51D25C #5187D2
square
#D251C7 #D29C51 #51D25C #5187D2
split-complementary
#D251C7 #87D251 #51D29C
monochromatic
#86237D #B72FAB #D251C7 #DF82D7 #EBB2E6

Accessibility & contrast

On white

3.66
#D251C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D251C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D251C7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D251C7#FFFFFF#000000##000000
##D251C71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACB
Deuteranopia (green-blind)
#758CC4
Tritanopia (blue-blind)
#DA5D85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d251c7;
/* rgb */ color: rgb(210, 81, 199);
/* oklch */ color: oklch(64.6% 0.210 331.2);
Tailwind
colors: {
  custom: {
    50: '#e38ad8',
    500: '#d251c7',
    950: '#000000',
  },
}
SCSS
$custom: #d251c7;
$custom-light: #e38ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d251c7",
  "rgb": {
    "r": 210,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 305.116,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64622,
    "c": 0.21027,
    "h": 331.2
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

primary
#D251C7
secondary
#A5DAAA
accent
#E25346
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D251C7

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

Preview Lab → · Contrast checker → · Palette generator →

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