#CB50D9#CB50D9

#CB50D9 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.223 H 323.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CB50D9
RGBrgb(203, 80, 217)
HSLhsl(294, 64%, 58%)
HSVhsv(294, 63%, 85%)
CMYKcmyk(6.5%, 63.1%, 0%, 14.9%)
CIE-LABlab(55.53, 66.45, -47.67)
CIE-LCHlch(55.53, 81.78, 324.34°)
OKLaboklab(64.51% 0.179 -0.1325)
OKLCHoklch(64.51% 0.223 323.5)
XYZxyz(40.0205, 23.4458, 68.0497)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50D9 #5ED950
analogous
#8750D9 #CB50D9 #D950A2
triadic
#CB50D9 #D9CB50 #50D9CB
tetradic
#CB50D9 #D98750 #5ED950 #50A2D9
square
#CB50D9 #D98750 #5ED950 #50A2D9
split-complementary
#CB50D9 #A2D950 #50D987
monochromatic
#841F8F #B22AC2 #CB50D9 #DA82E4 #E9B5EF

Accessibility & contrast

On white

3.69
#CB50D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CB50D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50D9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50D9#FFFFFF#000000##000000
##CB50D91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDD
Deuteranopia (green-blind)
#658AD5
Tritanopia (blue-blind)
#CE658E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb50d9;
/* rgb */ color: rgb(203, 80, 217);
/* oklch */ color: oklch(64.5% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#de89e5',
    500: '#cb50d9',
    950: '#000000',
  },
}
SCSS
$custom: #cb50d9;
$custom-light: #de89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50d9",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 293.869,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.22269,
    "h": 323.5
  },
  "luminance": 0.23444
}

Semantic roles & 50–950 ramp

primary
#CB50D9
secondary
#ADDEA7
accent
#E74052
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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