#D152FF#D152FF

#D152FF is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.7% C 0.256 H 315.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D152FF
RGBrgb(209, 82, 255)
HSLhsl(284, 100%, 66%)
HSVhsv(284, 68%, 100%)
CMYKcmyk(18%, 67.8%, 0%, 0%)
CIE-LABlab(58.80, 73.98, -63.66)
CIE-LCHlch(58.80, 97.60, 319.29°)
OKLaboklab(67.73% 0.1828 -0.179)
OKLCHoklch(67.73% 0.256 315.6)
XYZxyz(47.3589, 26.8116, 97.2688)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152FF #80FF52
analogous
#7A52FF #D152FF #FF52D7
triadic
#D152FF #FFD152 #52FFD1
tetradic
#D152FF #FF7A52 #80FF52 #52D7FF
square
#D152FF #FF7A52 #80FF52 #52D7FF
split-complementary
#D152FF #D7FF52 #52FF7A
monochromatic
#9E00D7 #C115FF #D152FF #E18FFF #F2CCFF

Accessibility & contrast

On white

3.30
#D152FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D152FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152FF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152FF#FFFFFF#000000##000000
##D152FF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#CE74A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d152ff;
/* rgb */ color: rgb(209, 82, 255);
/* oklch */ color: oklch(67.7% 0.256 315.6);
Tailwind
colors: {
  custom: {
    50: '#e38cff',
    500: '#d152ff',
    950: '#000000',
  },
}
SCSS
$custom: #d152ff;
$custom-light: #e38cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d152ff",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 284.046,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67725,
    "c": 0.25589,
    "h": 315.6
  },
  "luminance": 0.2681
}

Semantic roles & 50–950 ramp

primary
#D152FF
secondary
#C9F3BA
accent
#E6003D
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D152FF

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

Preview Lab → · Contrast checker → · Palette generator →

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