#CB58F7#CB58F7

#CB58F7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.239 H 315.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CB58F7
RGBrgb(203, 88, 247)
HSLhsl(283, 91%, 66%)
HSVhsv(283, 64%, 97%)
CMYKcmyk(17.8%, 64.4%, 0%, 3.1%)
CIE-LABlab(58.41, 68.70, -59.90)
CIE-LCHlch(58.41, 91.14, 318.91°)
OKLaboklab(67.13% 0.1699 -0.1682)
OKLCHoklch(67.13% 0.239 315.3)
XYZxyz(44.9041, 26.3929, 90.7066)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58F7 #84F758
analogous
#7B58F7 #CB58F7 #F758D4
triadic
#CB58F7 #F7CB58 #58F7CB
tetradic
#CB58F7 #F77B58 #84F758 #58D4F7
square
#CB58F7 #F77B58 #84F758 #58D4F7
split-complementary
#CB58F7 #D4F758 #58F77B
monochromatic
#950ACB #B91EF4 #CB58F7 #DD92FA #EFCDFD

Accessibility & contrast

On white

3.34
#CB58F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CB58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58F7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58F7#FFFFFF#000000##000000
##CB58F71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A86FC
Deuteranopia (green-blind)
#5590F3
Tritanopia (blue-blind)
#C876A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb58f7;
/* rgb */ color: rgb(203, 88, 247);
/* oklch */ color: oklch(67.1% 0.239 315.3);
Tailwind
colors: {
  custom: {
    50: '#df8efb',
    500: '#cb58f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb58f7;
$custom-light: #df8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58f7",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 283.396,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67127,
    "c": 0.23908,
    "h": 315.3
  },
  "luminance": 0.26391
}

Semantic roles & 50–950 ramp

primary
#CB58F7
secondary
#CAF0BB
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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