#D151DC#D151DC

#D151DC is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.227 H 324.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D151DC
RGBrgb(209, 81, 220)
HSLhsl(295, 67%, 59%)
HSVhsv(295, 63%, 86%)
CMYKcmyk(5%, 63.2%, 0%, 13.7%)
CIE-LABlab(56.69, 67.97, -47.47)
CIE-LCHlch(56.69, 82.90, 325.07°)
OKLaboklab(65.58% 0.1846 -0.1318)
OKLCHoklch(65.58% 0.227 324.5)
XYZxyz(42.1541, 24.6099, 70.2261)
Luminance0.2461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151DC #5CDC51
analogous
#8C51DC #D151DC #DC51A2
triadic
#D151DC #DCD151 #51DCD1
tetradic
#D151DC #DC8C51 #5CDC51 #51A2DC
square
#D151DC #DC8C51 #5CDC51 #51A2DC
split-complementary
#D151DC #A2DC51 #51DC8C
monochromatic
#8B1E95 #BB28C8 #D151DC #DE84E6 #ECB7F0

Accessibility & contrast

On white

3.55
#D151DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D151DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151DC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151DC#FFFFFF#000000##000000
##D151DC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#D56690
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d151dc;
/* rgb */ color: rgb(209, 81, 220);
/* oklch */ color: oklch(65.6% 0.227 324.5);
Tailwind
colors: {
  custom: {
    50: '#e28ae7',
    500: '#d151dc',
    950: '#000000',
  },
}
SCSS
$custom: #d151dc;
$custom-light: #e28ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#d151dc",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 295.252,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65579,
    "c": 0.22683,
    "h": 324.5
  },
  "luminance": 0.24607
}

Semantic roles & 50–950 ramp

primary
#D151DC
secondary
#ADE0A9
accent
#E93E4C
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D151DC

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

Preview Lab → · Contrast checker → · Palette generator →

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