#CB5EF6#CB5EF6

#CB5EF6 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.230 H 315.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CB5EF6
RGBrgb(203, 94, 246)
HSLhsl(283, 89%, 67%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.5%, 61.8%, 0%, 3.5%)
CIE-LABlab(59.30, 65.87, -57.91)
CIE-LCHlch(59.30, 87.71, 318.68°)
OKLaboklab(67.76% 0.1632 -0.1625)
OKLCHoklch(67.76% 0.23 315.1)
XYZxyz(45.2632, 27.3573, 90.0671)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EF6 #89F65E
analogous
#7F5EF6 #CB5EF6 #F65ED5
triadic
#CB5EF6 #F6CB5E #5EF6CB
tetradic
#CB5EF6 #F67F5E #89F65E #5ED5F6
square
#CB5EF6 #F67F5E #89F65E #5ED5F6
split-complementary
#CB5EF6 #D5F65E #5EF67F
monochromatic
#970CCE #B824F3 #CB5EF6 #DE98F9 #F0D2FC

Accessibility & contrast

On white

3.25
#CB5EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CB5EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EF6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EF6#FFFFFF#000000##000000
##CB5EF61.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FB
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#C87AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5ef6;
/* rgb */ color: rgb(203, 94, 246);
/* oklch */ color: oklch(67.8% 0.230 315.1);
Tailwind
colors: {
  custom: {
    50: '#de92fa',
    500: '#cb5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ef6;
$custom-light: #de92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ef6",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 283.026,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.23025,
    "h": 315.1
  },
  "luminance": 0.27356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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