#CB58F5#CB58F5

#CB58F5 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.237 H 315.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CB58F5
RGBrgb(203, 88, 245)
HSLhsl(284, 89%, 65%)
HSVhsv(284, 64%, 96%)
CMYKcmyk(17.1%, 64.1%, 0%, 3.9%)
CIE-LABlab(58.29, 68.31, -58.97)
CIE-LCHlch(58.29, 90.24, 319.19°)
OKLaboklab(67.01% 0.1699 -0.1655)
OKLCHoklch(67.01% 0.237 315.7)
XYZxyz(44.5972, 26.2701, 89.0899)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58F5 #82F558
analogous
#7C58F5 #CB58F5 #F558D1
triadic
#CB58F5 #F5CB58 #58F5CB
tetradic
#CB58F5 #F57C58 #82F558 #58D1F5
square
#CB58F5 #F57C58 #82F558 #58D1F5
split-complementary
#CB58F5 #D1F558 #58F57C
monochromatic
#950CC7 #B91EF2 #CB58F5 #DD92F8 #EFCBFC

Accessibility & contrast

On white

3.36
#CB58F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CB58F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58F5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58F5#FFFFFF#000000##000000
##CB58F51.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1385FA
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#C8759F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb58f5;
/* rgb */ color: rgb(203, 88, 245);
/* oklch */ color: oklch(67.0% 0.237 315.7);
Tailwind
colors: {
  custom: {
    50: '#df8ef9',
    500: '#cb58f5',
    950: '#000000',
  },
}
SCSS
$custom: #cb58f5;
$custom-light: #df8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58f5",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 283.949,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.23723,
    "h": 315.7
  },
  "luminance": 0.26269
}

Semantic roles & 50–950 ramp

primary
#CB58F5
secondary
#C8EFBA
accent
#E5003D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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