#CB5DFF#CB5DFF

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

Color values

HEX#CB5DFF
RGBrgb(203, 93, 255)
HSLhsl(281, 100%, 68%)
HSVhsv(281, 64%, 100%)
CMYKcmyk(20.4%, 63.5%, 0%, 0%)
CIE-LABlab(59.66, 68.12, -62.32)
CIE-LCHlch(59.66, 92.32, 317.55°)
OKLaboklab(68.18% 0.1641 -0.1754)
OKLCHoklch(68.18% 0.24 313.1)
XYZxyz(46.5898, 27.7465, 97.4897)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DFF #91FF5D
analogous
#7A5DFF #CB5DFF #FF5DE2
triadic
#CB5DFF #FFCB5D #5DFFCB
tetradic
#CB5DFF #FF7A5D #91FF5D #5DE2FF
square
#CB5DFF #FF7A5D #91FF5D #5DE2FF
split-complementary
#CB5DFF #E2FF5D #5DFF7A
monochromatic
#9900E2 #B720FF #CB5DFF #DF9AFF #F2D7FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5DFF#FFFFFF#000000##000000
##CB5DFF1.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)
#048AFF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#C67CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb5dff;
/* rgb */ color: rgb(203, 93, 255);
/* oklch */ color: oklch(68.2% 0.240 313.1);
Tailwind
colors: {
  custom: {
    50: '#df91ff',
    500: '#cb5dff',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dff;
$custom-light: #df91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dff",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 280.741,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.24014,
    "h": 313.1
  },
  "luminance": 0.27745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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