#CB5EF5#CB5EF5

#CB5EF5 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.229 H 315.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CB5EF5
RGBrgb(203, 94, 245)
HSLhsl(283, 88%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.1%, 61.6%, 0%, 3.9%)
CIE-LABlab(59.25, 65.67, -57.45)
CIE-LCHlch(59.25, 87.25, 318.82°)
OKLaboklab(67.7% 0.1632 -0.1611)
OKLCHoklch(67.7% 0.229 315.4)
XYZxyz(45.1101, 27.2960, 89.2609)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EF5 #88F55E
analogous
#805EF5 #CB5EF5 #F55ED4
triadic
#CB5EF5 #F5CB5E #5EF5CB
tetradic
#CB5EF5 #F5805E #88F55E #5ED4F5
square
#CB5EF5 #F5805E #88F55E #5ED4F5
split-complementary
#CB5EF5 #D4F55E #5EF580
monochromatic
#970DCC #B824F1 #CB5EF5 #DE98F9 #F0D1FC

Accessibility & contrast

On white

3.25
#CB5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CB5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EF5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EF5#FFFFFF#000000##000000
##CB5EF51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#5C92F1
Tritanopia (blue-blind)
#C879A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb5ef5;
/* rgb */ color: rgb(203, 94, 245);
/* oklch */ color: oklch(67.7% 0.229 315.4);
Tailwind
colors: {
  custom: {
    50: '#de92f9',
    500: '#cb5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ef5;
$custom-light: #de92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ef5",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 283.311,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67697,
    "c": 0.22929,
    "h": 315.4
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#CB5EF5
secondary
#CDF0BF
accent
#E50140
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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