#CB5EFC#CB5EFC

#CB5EFC is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.236 H 313.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CB5EFC
RGBrgb(203, 94, 252)
HSLhsl(281, 96%, 68%)
HSVhsv(281, 63%, 99%)
CMYKcmyk(19.4%, 62.7%, 0%, 1.2%)
CIE-LABlab(59.65, 67.07, -60.68)
CIE-LCHlch(59.65, 90.45, 317.86°)
OKLaboklab(68.11% 0.163 -0.1706)
OKLCHoklch(68.11% 0.236 313.7)
XYZxyz(46.1990, 27.7316, 94.9957)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EFC #8FFC5E
analogous
#7C5EFC #CB5EFC #FC5EDE
triadic
#CB5EFC #FCCB5E #5EFCCB
tetradic
#CB5EFC #FC7C5E #8FFC5E #5EDEFC
square
#CB5EFC #FC7C5E #8FFC5E #5EDEFC
split-complementary
#CB5EFC #DEFC5E #5EFC7C
monochromatic
#9904DC #B822FB #CB5EFC #DE9AFD #F2D6FE

Accessibility & contrast

On white

3.21
#CB5EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CB5EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EFC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EFC#FFFFFF#000000##000000
##CB5EFC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#188AFF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#C67CA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb5efc;
/* rgb */ color: rgb(203, 94, 252);
/* oklch */ color: oklch(68.1% 0.236 313.7);
Tailwind
colors: {
  custom: {
    50: '#df92fe',
    500: '#cb5efc',
    950: '#000000',
  },
}
SCSS
$custom: #cb5efc;
$custom-light: #df92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5efc",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 281.392,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68113,
    "c": 0.23597,
    "h": 313.7
  },
  "luminance": 0.2773
}

Semantic roles & 50–950 ramp

primary
#CB5EFC
secondary
#D2F3C3
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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