#CB5EFF#CB5EFF

#CB5EFF is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.3% C 0.239 H 313.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CB5EFF
RGBrgb(203, 94, 255)
HSLhsl(281, 100%, 68%)
HSVhsv(281, 63%, 100%)
CMYKcmyk(20.4%, 63.1%, 0%, 0%)
CIE-LABlab(59.82, 67.68, -62.06)
CIE-LCHlch(59.82, 91.82, 317.48°)
OKLaboklab(68.29% 0.1629 -0.1746)
OKLCHoklch(68.29% 0.239 313)
XYZxyz(46.6782, 27.9232, 97.5192)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EFF #92FF5E
analogous
#7A5EFF #CB5EFF #FF5EE2
triadic
#CB5EFF #FFCB5E #5EFFCB
tetradic
#CB5EFF #FF7A5E #92FF5E #5EE2FF
square
#CB5EFF #FF7A5E #92FF5E #5EE2FF
split-complementary
#CB5EFF #E2FF5E #5EFF7A
monochromatic
#9900E3 #B721FF #CB5EFF #DF9BFF #F3D8FF

Accessibility & contrast

On white

3.19
#CB5EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CB5EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EFF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EFF#FFFFFF#000000##000000
##CB5EFF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D8AFF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#C67DA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb5eff;
/* rgb */ color: rgb(203, 94, 255);
/* oklch */ color: oklch(68.3% 0.239 313.0);
Tailwind
colors: {
  custom: {
    50: '#df92ff',
    500: '#cb5eff',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eff;
$custom-light: #df92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eff",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 280.621,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.23884,
    "h": 313
  },
  "luminance": 0.27922
}

Semantic roles & 50–950 ramp

primary
#CB5EFF
secondary
#D4F5C4
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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