#CB50D2#CB50D2

#CB50D2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.217 H 325.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CB50D2
RGBrgb(203, 80, 210)
HSLhsl(297, 59%, 57%)
HSVhsv(297, 62%, 82%)
CMYKcmyk(3.3%, 61.9%, 0%, 17.6%)
CIE-LABlab(55.16, 65.21, -44.27)
CIE-LCHlch(55.16, 78.82, 325.83°)
OKLaboklab(64.13% 0.1787 -0.1226)
OKLCHoklch(64.13% 0.217 325.5)
XYZxyz(39.1293, 23.0893, 63.3559)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50D2 #57D250
analogous
#8A50D2 #CB50D2 #D25098
triadic
#CB50D2 #D2CB50 #50D2CB
tetradic
#CB50D2 #D28A50 #57D250 #5098D2
square
#CB50D2 #D28A50 #57D250 #5098D2
split-complementary
#CB50D2 #98D250 #50D28A
monochromatic
#802285 #AF2FB6 #CB50D2 #D981DF #E8B1EB

Accessibility & contrast

On white

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

On black

5.62
#CB50D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50D2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50D2#FFFFFF#000000##000000
##CB50D21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#6989CF
Tritanopia (blue-blind)
#D0628A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb50d2;
/* rgb */ color: rgb(203, 80, 210);
/* oklch */ color: oklch(64.1% 0.217 325.5);
Tailwind
colors: {
  custom: {
    50: '#de89e0',
    500: '#cb50d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb50d2;
$custom-light: #de89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50d2",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 296.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.21674,
    "h": 325.5
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#CB50D2
secondary
#A7D9A4
accent
#E2464E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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