#CB5CF7#CB5CF7

#CB5CF7 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.234 H 315.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CB5CF7
RGBrgb(203, 92, 247)
HSLhsl(283, 91%, 66%)
HSVhsv(283, 63%, 97%)
CMYKcmyk(17.8%, 62.8%, 0%, 3.1%)
CIE-LABlab(59.04, 66.96, -58.89)
CIE-LCHlch(59.04, 89.17, 318.67°)
OKLaboklab(67.58% 0.1654 -0.1653)
OKLCHoklch(67.58% 0.234 315)
XYZxyz(45.2415, 27.0677, 90.8191)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CF7 #88F75C
analogous
#7E5CF7 #CB5CF7 #F75CD5
triadic
#CB5CF7 #F7CB5C #5CF7CB
tetradic
#CB5CF7 #F77E5C #88F75C #5CD5F7
square
#CB5CF7 #F77E5C #88F75C #5CD5F7
split-complementary
#CB5CF7 #D5F75C #5CF77E
monochromatic
#970ACE #B822F4 #CB5CF7 #DE96FA #F0D1FD

Accessibility & contrast

On white

3.27
#CB5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CB5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CF7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CF7#FFFFFF#000000##000000
##CB5CF71.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#C879A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5cf7;
/* rgb */ color: rgb(203, 92, 247);
/* oklch */ color: oklch(67.6% 0.234 315.0);
Tailwind
colors: {
  custom: {
    50: '#de91fa',
    500: '#cb5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cf7;
$custom-light: #de91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cf7",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 282.968,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67581,
    "c": 0.23387,
    "h": 315
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#CB5CF7
secondary
#CDF1BE
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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