#CB5FED#CB5FED

#CB5FED is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.220 H 317.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CB5FED
RGBrgb(203, 95, 237)
HSLhsl(286, 80%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(14.3%, 59.9%, 0%, 7.1%)
CIE-LABlab(58.97, 63.65, -53.44)
CIE-LCHlch(58.97, 83.11, 319.99°)
OKLaboklab(67.36% 0.1619 -0.1494)
OKLCHoklch(67.36% 0.22 317.3)
XYZxyz(44.0047, 26.9970, 82.9973)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FED #81ED5F
analogous
#845FED #CB5FED #ED5FC8
triadic
#CB5FED #EDCB5F #5FEDCB
tetradic
#CB5FED #ED845F #81ED5F #5FC8ED
square
#CB5FED #ED845F #81ED5F #5FC8ED
split-complementary
#CB5FED #C8ED5F #5FED84
monochromatic
#9415BC #B928E7 #CB5FED #DD96F3 #EFCDF9

Accessibility & contrast

On white

3.28
#CB5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CB5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FED
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FED#FFFFFF#000000##000000
##CB5FED1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#CA779D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5fed;
/* rgb */ color: rgb(203, 95, 237);
/* oklch */ color: oklch(67.4% 0.220 317.3);
Tailwind
colors: {
  custom: {
    50: '#de92f3',
    500: '#cb5fed',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fed;
$custom-light: #de92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fed",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 285.634,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67355,
    "c": 0.22032,
    "h": 317.3
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#CB5FED
secondary
#C7ECBC
accent
#DC093C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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