#CB50F3#CB50F3

#CB50F3 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.0% C 0.245 H 316.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CB50F3
RGBrgb(203, 80, 243)
HSLhsl(285, 87%, 63%)
HSVhsv(285, 67%, 95%)
CMYKcmyk(16.5%, 67.1%, 0%, 4.7%)
CIE-LABlab(56.98, 71.24, -59.95)
CIE-LCHlch(56.98, 93.11, 319.92°)
OKLaboklab(66.03% 0.1786 -0.1684)
OKLCHoklch(66.03% 0.245 316.7)
XYZxyz(43.6725, 24.9066, 87.2836)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50F3 #78F350
analogous
#7950F3 #CB50F3 #F350C9
triadic
#CB50F3 #F3CB50 #50F3CB
tetradic
#CB50F3 #F37950 #78F350 #50C9F3
square
#CB50F3 #F37950 #78F350 #50C9F3
split-complementary
#CB50F3 #C9F350 #50F379
monochromatic
#910DBC #BA17EF #CB50F3 #DC89F7 #EDC3FB

Accessibility & contrast

On white

3.51
#CB50F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CB50F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50F3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50F3#FFFFFF#000000##000000
##CB50F31.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F8
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#C96F9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb50f3;
/* rgb */ color: rgb(203, 80, 243);
/* oklch */ color: oklch(66.0% 0.245 316.7);
Tailwind
colors: {
  custom: {
    50: '#df8af8',
    500: '#cb50f3',
    950: '#000000',
  },
}
SCSS
$custom: #cb50f3;
$custom-light: #df8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50f3",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 285.276,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.24543,
    "h": 316.7
  },
  "luminance": 0.24905
}

Semantic roles & 50–950 ramp

primary
#CB50F3
secondary
#C1ECB2
accent
#E40239
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB50F3

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

Preview Lab → · Contrast checker → · Palette generator →

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