#D050C2#D050C2

#D050C2 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.0% C 0.207 H 332.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D050C2
RGBrgb(208, 80, 194)
HSLhsl(307, 58%, 56%)
HSVhsv(307, 62%, 82%)
CMYKcmyk(0%, 61.5%, 6.7%, 18.4%)
CIE-LABlab(55.12, 63.78, -35.14)
CIE-LCHlch(55.12, 72.83, 331.15°)
OKLaboklab(63.99% 0.1828 -0.0962)
OKLCHoklch(63.99% 0.207 332.2)
XYZxyz(38.6187, 23.0451, 53.4426)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D050C2 #50D05E
analogous
#9E50D0 #D050C2 #D05082
triadic
#D050C2 #C2D050 #50C2D0
tetradic
#D050C2 #D09E50 #50D05E #5082D0
square
#D050C2 #D09E50 #50D05E #5082D0
split-complementary
#D050C2 #82D050 #50D09E
monochromatic
#832378 #B330A4 #D050C2 #DD80D3 #EAB0E4

Accessibility & contrast

On white

3.74
#D050C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D050C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D050C2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D050C2#FFFFFF#000000##000000
##D050C21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#D85B82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d050c2;
/* rgb */ color: rgb(208, 80, 194);
/* oklch */ color: oklch(64.0% 0.207 332.2);
Tailwind
colors: {
  custom: {
    50: '#e289d5',
    500: '#d050c2',
    950: '#000000',
  },
}
SCSS
$custom: #d050c2;
$custom-light: #e289d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d050c2",
  "rgb": {
    "r": 208,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 306.563,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.20656,
    "h": 332.2
  },
  "luminance": 0.23042
}

Semantic roles & 50–950 ramp

primary
#D050C2
secondary
#A4D8A9
accent
#E15847
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D050C2

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

Preview Lab → · Contrast checker → · Palette generator →

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