#CD50BA#CD50BA

#CD50BA is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.2% C 0.199 H 334.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CD50BA
RGBrgb(205, 80, 186)
HSLhsl(309, 56%, 56%)
HSVhsv(309, 61%, 80%)
CMYKcmyk(0%, 61%, 9.3%, 19.6%)
CIE-LABlab(54.31, 61.74, -31.84)
CIE-LCHlch(54.31, 69.46, 332.72°)
OKLaboklab(63.19% 0.1786 -0.0868)
OKLCHoklch(63.19% 0.199 334.1)
XYZxyz(36.9086, 22.2645, 48.7984)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50BA #50CD63
analogous
#A150CD #CD50BA #CD507B
triadic
#CD50BA #BACD50 #50BACD
tetradic
#CD50BA #CDA150 #50CD63 #507BCD
square
#CD50BA #CDA150 #50CD63 #507BCD
split-complementary
#CD50BA #7BCD50 #50CDA1
monochromatic
#7E2471 #AE329B #CD50BA #DB80CD #E8AFE0

Accessibility & contrast

On white

3.85
#CD50BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CD50BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50BA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50BA#FFFFFF#000000##000000
##CD50BA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#7689B7
Tritanopia (blue-blind)
#D6597E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd50ba;
/* rgb */ color: rgb(205, 80, 186);
/* oklch */ color: oklch(63.2% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#df89cf',
    500: '#cd50ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd50ba;
$custom-light: #df89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50ba",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 309.12,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.19856,
    "h": 334.1
  },
  "luminance": 0.22262
}

Semantic roles & 50–950 ramp

primary
#CD50BA
secondary
#A2D6AA
accent
#DF6049
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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