#CB58F1#CB58F1

#CB58F1 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.234 H 316.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CB58F1
RGBrgb(203, 88, 241)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(15.8%, 63.5%, 0%, 5.5%)
CIE-LABlab(58.06, 67.53, -57.11)
CIE-LCHlch(58.06, 88.44, 319.78°)
OKLaboklab(66.77% 0.17 -0.1601)
OKLCHoklch(66.77% 0.234 316.7)
XYZxyz(43.9931, 26.0285, 85.9087)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58F1 #7EF158
analogous
#7F58F1 #CB58F1 #F158CB
triadic
#CB58F1 #F1CB58 #58F1CB
tetradic
#CB58F1 #F17F58 #7EF158 #58CBF1
square
#CB58F1 #F17F58 #7EF158 #58CBF1
split-complementary
#CB58F1 #CBF158 #58F17F
monochromatic
#9310BF #B920EC #CB58F1 #DD90F6 #EEC9FA

Accessibility & contrast

On white

3.38
#CB58F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CB58F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58F1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58F1#FFFFFF#000000##000000
##CB58F11.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F84F6
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#C9749D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb58f1;
/* rgb */ color: rgb(203, 88, 241);
/* oklch */ color: oklch(66.8% 0.234 316.7);
Tailwind
colors: {
  custom: {
    50: '#de8ef6',
    500: '#cb58f1',
    950: '#000000',
  },
}
SCSS
$custom: #cb58f1;
$custom-light: #de8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58f1",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 285.098,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.23354,
    "h": 316.7
  },
  "luminance": 0.26027
}

Semantic roles & 50–950 ramp

primary
#CB58F1
secondary
#C5EDB8
accent
#E1053B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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