#D151CE#D151CE

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

Color values

HEX#D151CE
RGBrgb(209, 81, 206)
HSLhsl(301, 58%, 57%)
HSVhsv(301, 61%, 82%)
CMYKcmyk(0%, 61.2%, 1.4%, 18%)
CIE-LABlab(55.99, 65.58, -40.64)
CIE-LCHlch(55.99, 77.15, 328.21°)
OKLaboklab(64.84% 0.1839 -0.112)
OKLCHoklch(64.84% 0.215 328.7)
XYZxyz(40.3770, 23.8991, 60.8669)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151CE #51D154
analogous
#9451D1 #D151CE #D1518E
triadic
#D151CE #CED151 #51CED1
tetradic
#D151CE #D19451 #51D154 #518ED1
square
#D151CE #D19451 #51D154 #518ED1
split-complementary
#D151CE #8ED151 #51D194
monochromatic
#852382 #B530B2 #D151CE #DE81DC #EBB2E9

Accessibility & contrast

On white

3.63
#D151CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D151CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151CE#FFFFFF#000000##000000
##D151CE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#D86088
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d151ce;
/* rgb */ color: rgb(209, 81, 206);
/* oklch */ color: oklch(64.8% 0.215 328.7);
Tailwind
colors: {
  custom: {
    50: '#e28add',
    500: '#d151ce',
    950: '#000000',
  },
}
SCSS
$custom: #d151ce;
$custom-light: #e28add;
$custom-dark: #000000;
JSON
{
  "hex": "#d151ce",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 301.406,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.21528,
    "h": 328.7
  },
  "luminance": 0.23896
}

Semantic roles & 50–950 ramp

primary
#D151CE
secondary
#A5D9A6
accent
#E14A46
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D151CE

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

Preview Lab → · Contrast checker → · Palette generator →

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