#CB50F7#CB50F7

#CB50F7 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.3% C 0.249 H 315.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CB50F7
RGBrgb(203, 80, 247)
HSLhsl(284, 91%, 64%)
HSVhsv(284, 68%, 97%)
CMYKcmyk(17.8%, 67.6%, 0%, 3.1%)
CIE-LABlab(57.22, 72.00, -61.80)
CIE-LCHlch(57.22, 94.89, 319.36°)
OKLaboklab(66.28% 0.1783 -0.1738)
OKLCHoklch(66.28% 0.249 315.7)
XYZxyz(44.2831, 25.1509, 90.4996)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50F7 #7CF750
analogous
#7850F7 #CB50F7 #F750CF
triadic
#CB50F7 #F7CB50 #50F7CB
tetradic
#CB50F7 #F77850 #7CF750 #50CFF7
square
#CB50F7 #F77850 #7CF750 #50CFF7
split-complementary
#CB50F7 #CFF750 #50F778
monochromatic
#9209C4 #BA15F4 #CB50F7 #DC8BFA #EEC5FC

Accessibility & contrast

On white

3.48
#CB50F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CB50F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50F7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50F7#FFFFFF#000000##000000
##CB50F71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#C8719E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb50f7;
/* rgb */ color: rgb(203, 80, 247);
/* oklch */ color: oklch(66.3% 0.249 315.7);
Tailwind
colors: {
  custom: {
    50: '#df8afb',
    500: '#cb50f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb50f7;
$custom-light: #df8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50f7",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 247
  },
  "hsl": {
    "h": 284.192,
    "s": 91.257,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66276,
    "c": 0.24899,
    "h": 315.7
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#CB50F7
secondary
#C4EFB4
accent
#E6003C
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CB50F7

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

Preview Lab → · Contrast checker → · Palette generator →

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