#CB5EF1#CB5EF1

#CB5EF1 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.226 H 316.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CB5EF1
RGBrgb(203, 94, 241)
HSLhsl(284, 84%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(15.8%, 61%, 0%, 5.5%)
CIE-LABlab(59.02, 64.88, -55.58)
CIE-LCHlch(59.02, 85.43, 319.42°)
OKLaboklab(67.46% 0.1632 -0.1556)
OKLCHoklch(67.46% 0.226 316.3)
XYZxyz(44.5061, 27.0544, 86.0796)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EF1 #84F15E
analogous
#815EF1 #CB5EF1 #F15ECD
triadic
#CB5EF1 #F1CB5E #5EF1CB
tetradic
#CB5EF1 #F1815E #84F15E #5ECDF1
square
#CB5EF1 #F1815E #84F15E #5ECDF1
split-complementary
#CB5EF1 #CDF15E #5EF181
monochromatic
#9511C4 #B926EC #CB5EF1 #DD96F6 #EFCFFB

Accessibility & contrast

On white

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

On black

6.41
#CB5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EF1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EF1#FFFFFF#000000##000000
##CB5EF11.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F6
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#C9789F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5ef1;
/* rgb */ color: rgb(203, 94, 241);
/* oklch */ color: oklch(67.5% 0.226 316.3);
Tailwind
colors: {
  custom: {
    50: '#de92f6',
    500: '#cb5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ef1;
$custom-light: #de92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ef1",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 284.49,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67464,
    "c": 0.2255,
    "h": 316.3
  },
  "luminance": 0.27053
}

Semantic roles & 50–950 ramp

primary
#CB5EF1
secondary
#CAEEBD
accent
#E0053E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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