#CB4EF5#CB4EF5

#CB4EF5 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 66.0% C 0.250 H 316.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CB4EF5
RGBrgb(203, 78, 245)
HSLhsl(285, 89%, 63%)
HSVhsv(285, 68%, 96%)
CMYKcmyk(17.1%, 68.2%, 0%, 3.9%)
CIE-LABlab(56.82, 72.41, -61.33)
CIE-LCHlch(56.82, 94.90, 319.74°)
OKLaboklab(65.95% 0.1805 -0.1724)
OKLCHoklch(65.95% 0.25 316.3)
XYZxyz(43.8319, 24.7396, 88.8348)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EF5 #78F54E
analogous
#774EF5 #CB4EF5 #F54ECC
triadic
#CB4EF5 #F5CB4E #4EF5CB
tetradic
#CB4EF5 #F5774E #78F54E #4ECCF5
square
#CB4EF5 #F5774E #78F54E #4ECCF5
split-complementary
#CB4EF5 #CCF54E #4EF577
monochromatic
#910BBE #BA14F2 #CB4EF5 #DC88F8 #EDC2FC

Accessibility & contrast

On white

3.53
#CB4EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CB4EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EF5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EF5#FFFFFF#000000##000000
##CB4EF51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#C86F9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb4ef5;
/* rgb */ color: rgb(203, 78, 245);
/* oklch */ color: oklch(66.0% 0.250 316.3);
Tailwind
colors: {
  custom: {
    50: '#df89f9',
    500: '#cb4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ef5;
$custom-light: #df89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ef5",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 284.91,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6595,
    "c": 0.24959,
    "h": 316.3
  },
  "luminance": 0.24738
}

Semantic roles & 50–950 ramp

primary
#CB4EF5
secondary
#C1EDB2
accent
#E6003A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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