#CB41D8#CB41D8

#CB41D8 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.0% C 0.240 H 324.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CB41D8
RGBrgb(203, 65, 216)
HSLhsl(295, 66%, 55%)
HSVhsv(295, 70%, 85%)
CMYKcmyk(6%, 69.9%, 0%, 15.3%)
CIE-LABlab(53.42, 72.02, -50.45)
CIE-LCHlch(53.42, 87.93, 324.99°)
OKLaboklab(62.98% 0.1948 -0.1405)
OKLCHoklch(62.98% 0.24 324.2)
XYZxyz(38.9125, 21.4374, 67.0407)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41D8 #4ED841
analogous
#7F41D8 #CB41D8 #D8419A
triadic
#CB41D8 #D8CB41 #41D8CB
tetradic
#CB41D8 #D87F41 #4ED841 #419AD8
square
#CB41D8 #D87F41 #4ED841 #419AD8
split-complementary
#CB41D8 #9AD841 #41D87F
monochromatic
#7B1B84 #AA25B6 #CB41D8 #D974E2 #E7A7ED

Accessibility & contrast

On white

3.97
#CB41D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CB41D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41D8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41D8#FFFFFF#000000##000000
##CB41D81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1275DC
Deuteranopia (green-blind)
#5D85D4
Tritanopia (blue-blind)
#CF5B88
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb41d8;
/* rgb */ color: rgb(203, 65, 216);
/* oklch */ color: oklch(63.0% 0.240 324.2);
Tailwind
colors: {
  custom: {
    50: '#df82e5',
    500: '#cb41d8',
    950: '#000000',
  },
}
SCSS
$custom: #cb41d8;
$custom-light: #df82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41d8",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 294.834,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62981,
    "c": 0.24015,
    "h": 324.2
  },
  "luminance": 0.21435
}

Semantic roles & 50–950 ramp

primary
#CB41D8
secondary
#A0DA9B
accent
#E93F4E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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