#D155C2#D155C2

#D155C2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.200 H 332.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D155C2
RGBrgb(209, 85, 194)
HSLhsl(307, 57%, 58%)
HSVhsv(307, 59%, 82%)
CMYKcmyk(0%, 59.3%, 7.2%, 18%)
CIE-LABlab(56.04, 61.93, -33.70)
CIE-LCHlch(56.04, 70.50, 331.45°)
OKLaboklab(64.69% 0.1777 -0.0921)
OKLCHoklch(64.69% 0.2 332.6)
XYZxyz(39.2806, 23.9502, 53.5824)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D155C2 #55D164
analogous
#A255D1 #D155C2 #D15584
triadic
#D155C2 #C2D155 #55C2D1
tetradic
#D155C2 #D1A255 #55D164 #5584D1
square
#D155C2 #D1A255 #55D164 #5584D1
split-complementary
#D155C2 #84D155 #55D1A2
monochromatic
#87257B #B732A7 #D155C2 #DE85D3 #EBB5E5

Accessibility & contrast

On white

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

On black

5.79
#D155C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D155C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D155C2#FFFFFF#000000##000000
##D155C21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#D95F84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d155c2;
/* rgb */ color: rgb(209, 85, 194);
/* oklch */ color: oklch(64.7% 0.200 332.6);
Tailwind
colors: {
  custom: {
    50: '#e28cd5',
    500: '#d155c2',
    950: '#000000',
  },
}
SCSS
$custom: #d155c2;
$custom-light: #e28cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d155c2",
  "rgb": {
    "r": 209,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 307.258,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.20015,
    "h": 332.6
  },
  "luminance": 0.23947
}

Semantic roles & 50–950 ramp

primary
#D155C2
secondary
#A8DAAE
accent
#E15A47
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D155C2

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

Preview Lab → · Contrast checker → · Palette generator →

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