#CB41B8#CB41B8

#CB41B8 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.216 H 333.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB41B8
RGBrgb(203, 65, 184)
HSLhsl(308, 57%, 53%)
HSVhsv(308, 68%, 80%)
CMYKcmyk(0%, 68%, 9.4%, 20.4%)
CIE-LABlab(51.77, 66.85, -34.66)
CIE-LCHlch(51.77, 75.30, 332.59°)
OKLaboklab(61.25% 0.1936 -0.0948)
OKLCHoklch(61.25% 0.216 333.9)
XYZxyz(35.1709, 19.9407, 47.3347)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41B8 #41CB54
analogous
#9941CB #CB41B8 #CB4173
triadic
#CB41B8 #B8CB41 #41B8CB
tetradic
#CB41B8 #CB9941 #41CB54 #4173CB
square
#CB41B8 #CB9941 #41CB54 #4173CB
split-complementary
#CB41B8 #73CB41 #41CB99
monochromatic
#721F67 #A22C92 #CB41B8 #D871CA #E5A1DC

Accessibility & contrast

On white

4.21
#CB41B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB41B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41B8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41B8#FFFFFF#000000##000000
##CB41B81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBB
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#D44C77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb41b8;
/* rgb */ color: rgb(203, 65, 184);
/* oklch */ color: oklch(61.3% 0.216 333.9);
Tailwind
colors: {
  custom: {
    50: '#de81cd',
    500: '#cb41b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb41b8;
$custom-light: #de81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41b8",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 308.261,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.2156,
    "h": 333.9
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#CB41B8
secondary
#96D29E
accent
#E05D48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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