#CB4DF5#CB4DF5

#CB4DF5 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.9% C 0.251 H 316.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CB4DF5
RGBrgb(203, 77, 245)
HSLhsl(285, 89%, 63%)
HSVhsv(285, 69%, 96%)
CMYKcmyk(17.1%, 68.6%, 0%, 3.9%)
CIE-LABlab(56.68, 72.80, -61.55)
CIE-LCHlch(56.68, 95.34, 319.79°)
OKLaboklab(65.85% 0.1815 -0.173)
OKLCHoklch(65.85% 0.251 316.4)
XYZxyz(43.7614, 24.5986, 88.8113)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DF5 #77F54D
analogous
#774DF5 #CB4DF5 #F54DCB
triadic
#CB4DF5 #F5CB4D #4DF5CB
tetradic
#CB4DF5 #F5774D #77F54D #4DCBF5
square
#CB4DF5 #F5774D #77F54D #4DCBF5
split-complementary
#CB4DF5 #CBF54D #4DF577
monochromatic
#900BBD #BA13F2 #CB4DF5 #DC87F8 #EDC1FC

Accessibility & contrast

On white

3.55
#CB4DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CB4DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DF5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DF5#FFFFFF#000000##000000
##CB4DF51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4df5;
/* rgb */ color: rgb(203, 77, 245);
/* oklch */ color: oklch(65.9% 0.251 316.4);
Tailwind
colors: {
  custom: {
    50: '#df88f9',
    500: '#cb4df5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4df5;
$custom-light: #df88f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4df5",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 245
  },
  "hsl": {
    "h": 285,
    "s": 89.362,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65851,
    "c": 0.25076,
    "h": 316.4
  },
  "luminance": 0.24597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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