#D154C2#D154C2

#D154C2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.6% C 0.202 H 332.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D154C2
RGBrgb(209, 84, 194)
HSLhsl(307, 58%, 57%)
HSVhsv(307, 60%, 82%)
CMYKcmyk(0%, 59.8%, 7.2%, 18%)
CIE-LABlab(55.88, 62.36, -33.94)
CIE-LCHlch(55.88, 71.00, 331.44°)
OKLaboklab(64.58% 0.179 -0.0928)
OKLCHoklch(64.58% 0.202 332.6)
XYZxyz(39.2024, 23.7939, 53.5564)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D154C2 #54D163
analogous
#A254D1 #D154C2 #D15483
triadic
#D154C2 #C2D154 #54C2D1
tetradic
#D154C2 #D1A254 #54D163 #5483D1
square
#D154C2 #D1A254 #54D163 #5483D1
split-complementary
#D154C2 #83D154 #54D1A2
monochromatic
#86247B #B731A7 #D154C2 #DE84D3 #EBB4E4

Accessibility & contrast

On white

3.65
#D154C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D154C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D154C2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D154C2#FFFFFF#000000##000000
##D154C21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#D95E83
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d154c2;
/* rgb */ color: rgb(209, 84, 194);
/* oklch */ color: oklch(64.6% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#e28bd5',
    500: '#d154c2',
    950: '#000000',
  },
}
SCSS
$custom: #d154c2;
$custom-light: #e28bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d154c2",
  "rgb": {
    "r": 209,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 307.2,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.20158,
    "h": 332.6
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#D154C2
secondary
#A7DAAD
accent
#E15947
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D154C2

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

Preview Lab → · Contrast checker → · Palette generator →

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