#CB4CF5#CB4CF5

#CB4CF5 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.8% C 0.252 H 316.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CB4CF5
RGBrgb(203, 76, 245)
HSLhsl(285, 89%, 63%)
HSVhsv(285, 69%, 96%)
CMYKcmyk(17.1%, 69%, 0%, 3.9%)
CIE-LABlab(56.55, 73.19, -61.77)
CIE-LCHlch(56.55, 95.77, 319.84°)
OKLaboklab(65.75% 0.1825 -0.1737)
OKLCHoklch(65.75% 0.252 316.4)
XYZxyz(43.6920, 24.4597, 88.7882)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CF5 #76F54C
analogous
#774CF5 #CB4CF5 #F54CCA
triadic
#CB4CF5 #F5CB4C #4CF5CB
tetradic
#CB4CF5 #F5774C #76F54C #4CCAF5
square
#CB4CF5 #F5774C #76F54C #4CCAF5
split-complementary
#CB4CF5 #CAF54C #4CF577
monochromatic
#900BBC #BA12F2 #CB4CF5 #DC86F8 #EDC0FB

Accessibility & contrast

On white

3.56
#CB4CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CB4CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CF5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CF5#FFFFFF#000000##000000
##CB4CF51.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#C96E9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb4cf5;
/* rgb */ color: rgb(203, 76, 245);
/* oklch */ color: oklch(65.8% 0.252 316.4);
Tailwind
colors: {
  custom: {
    50: '#df88f9',
    500: '#cb4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4cf5;
$custom-light: #df88f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4cf5",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 285.089,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65753,
    "c": 0.25192,
    "h": 316.4
  },
  "luminance": 0.24458
}

Semantic roles & 50–950 ramp

primary
#CB4CF5
secondary
#BFEDB0
accent
#E60039
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CB4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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