#D152DE#D152DE

#D152DE is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.227 H 323.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D152DE
RGBrgb(209, 82, 222)
HSLhsl(294, 68%, 60%)
HSVhsv(294, 63%, 87%)
CMYKcmyk(5.9%, 63.1%, 0%, 12.9%)
CIE-LABlab(56.94, 67.91, -48.20)
CIE-LCHlch(56.94, 83.28, 324.64°)
OKLaboklab(65.8% 0.1836 -0.1339)
OKLCHoklch(65.8% 0.227 323.9)
XYZxyz(42.4954, 24.8662, 71.6544)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152DE #5FDE52
analogous
#8B52DE #D152DE #DE52A5
triadic
#D152DE #DED152 #52DED1
tetradic
#D152DE #DE8B52 #5FDE52 #52A5DE
square
#D152DE #DE8B52 #5FDE52 #52A5DE
split-complementary
#D152DE #A5DE52 #52DE8B
monochromatic
#8D1D99 #BD27CC #D152DE #DF85E8 #ECB9F2

Accessibility & contrast

On white

3.52
#D152DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D152DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152DE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152DE#FFFFFF#000000##000000
##D152DE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#D56791
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d152de;
/* rgb */ color: rgb(209, 82, 222);
/* oklch */ color: oklch(65.8% 0.227 323.9);
Tailwind
colors: {
  custom: {
    50: '#e28be9',
    500: '#d152de',
    950: '#000000',
  },
}
SCSS
$custom: #d152de;
$custom-light: #e28be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d152de",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 294.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65795,
    "c": 0.22721,
    "h": 323.9
  },
  "luminance": 0.24864
}

Semantic roles & 50–950 ramp

primary
#D152DE
secondary
#B0E1AB
accent
#EB3D4D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D152DE

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

Preview Lab → · Contrast checker → · Palette generator →

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