#CB5EF2#CB5EF2

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

Color values

HEX#CB5EF2
RGBrgb(203, 94, 242)
HSLhsl(284, 85%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16.1%, 61.2%, 0%, 5.1%)
CIE-LABlab(59.08, 65.08, -56.05)
CIE-LCHlch(59.08, 85.89, 319.27°)
OKLaboklab(67.52% 0.1632 -0.157)
OKLCHoklch(67.52% 0.226 316.1)
XYZxyz(44.6559, 27.1143, 86.8685)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EF2 #85F25E
analogous
#815EF2 #CB5EF2 #F25ECF
triadic
#CB5EF2 #F2CB5E #5EF2CB
tetradic
#CB5EF2 #F2815E #85F25E #5ECFF2
square
#CB5EF2 #F2815E #85F25E #5ECFF2
split-complementary
#CB5EF2 #CFF25E #5EF281
monochromatic
#9610C6 #B925ED #CB5EF2 #DD97F7 #F0CFFB

Accessibility & contrast

On white

3.27
#CB5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CB5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EF2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EF2#FFFFFF#000000##000000
##CB5EF21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#C978A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5ef2;
/* rgb */ color: rgb(203, 94, 242);
/* oklch */ color: oklch(67.5% 0.226 316.1);
Tailwind
colors: {
  custom: {
    50: '#de92f7',
    500: '#cb5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ef2;
$custom-light: #de92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ef2",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 284.189,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67522,
    "c": 0.22644,
    "h": 316.1
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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