#CD50B9#CD50B9

#CD50B9 is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.1% C 0.198 H 334.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD50B9
RGBrgb(205, 80, 185)
HSLhsl(310, 56%, 56%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 61%, 9.8%, 19.6%)
CIE-LABlab(54.26, 61.58, -31.33)
CIE-LCHlch(54.26, 69.09, 333.04°)
OKLaboklab(63.14% 0.1784 -0.0853)
OKLCHoklch(63.14% 0.198 334.4)
XYZxyz(36.8027, 22.2221, 48.2405)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50B9 #50CD64
analogous
#A250CD #CD50B9 #CD507A
triadic
#CD50B9 #B9CD50 #50B9CD
tetradic
#CD50B9 #CDA250 #50CD64 #507ACD
square
#CD50B9 #CDA250 #50CD64 #507ACD
split-complementary
#CD50B9 #7ACD50 #50CDA2
monochromatic
#7E2470 #AE329A #CD50B9 #DB80CC #E8AFDF

Accessibility & contrast

On white

3.86
#CD50B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD50B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50B9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50B9#FFFFFF#000000##000000
##CD50B91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#7688B6
Tritanopia (blue-blind)
#D6587D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd50b9;
/* rgb */ color: rgb(205, 80, 185);
/* oklch */ color: oklch(63.1% 0.198 334.4);
Tailwind
colors: {
  custom: {
    50: '#df89ce',
    500: '#cd50b9',
    950: '#000000',
  },
}
SCSS
$custom: #cd50b9;
$custom-light: #df89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50b9",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 309.6,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.1978,
    "h": 334.4
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#CD50B9
secondary
#A2D6AB
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD50B9

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

Preview Lab → · Contrast checker → · Palette generator →

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