#CB50C7#CB50C7

#CB50C7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.208 H 329.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CB50C7
RGBrgb(203, 80, 199)
HSLhsl(302, 54%, 55%)
HSVhsv(302, 61%, 80%)
CMYKcmyk(0%, 60.6%, 2%, 20.4%)
CIE-LABlab(54.62, 63.33, -38.86)
CIE-LCHlch(54.62, 74.30, 328.47°)
OKLaboklab(63.55% 0.1779 -0.107)
OKLCHoklch(63.55% 0.208 329)
XYZxyz(37.8057, 22.5599, 56.3850)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50C7 #50CB54
analogous
#9150CB #CB50C7 #CB5089
triadic
#CB50C7 #C7CB50 #50C7CB
tetradic
#CB50C7 #CB9150 #50CB54 #5089CB
square
#CB50C7 #CB9150 #50CB54 #5089CB
split-complementary
#CB50C7 #89CB50 #50CB91
monochromatic
#7C2579 #AB33A7 #CB50C7 #D97FD6 #E7AEE5

Accessibility & contrast

On white

3.81
#CB50C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CB50C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50C7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50C7#FFFFFF#000000##000000
##CB50C71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#D25E84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb50c7;
/* rgb */ color: rgb(203, 80, 199);
/* oklch */ color: oklch(63.6% 0.208 329.0);
Tailwind
colors: {
  custom: {
    50: '#de89d8',
    500: '#cb50c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb50c7;
$custom-light: #de89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50c7",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 301.951,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63554,
    "c": 0.20762,
    "h": 329
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#CB50C7
secondary
#A2D5A3
accent
#DE4F4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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