#CB41C6#CB41C6

#CB41C6 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.226 H 329.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CB41C6
RGBrgb(203, 65, 198)
HSLhsl(302, 57%, 53%)
HSVhsv(302, 68%, 80%)
CMYKcmyk(0%, 68%, 2.5%, 20.4%)
CIE-LABlab(52.46, 69.04, -41.68)
CIE-LCHlch(52.46, 80.64, 328.88°)
OKLaboklab(61.98% 0.1946 -0.115)
OKLCHoklch(61.98% 0.226 329.4)
XYZxyz(36.7117, 20.5570, 55.4494)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41C6 #41CB46
analogous
#8B41CB #CB41C6 #CB4181
triadic
#CB41C6 #C6CB41 #41C6CB
tetradic
#CB41C6 #CB8B41 #41CB46 #4181CB
square
#CB41C6 #CB8B41 #41CB46 #4181CB
split-complementary
#CB41C6 #81CB41 #41CB8B
monochromatic
#721F6F #A22C9E #CB41C6 #D871D4 #E5A1E3

Accessibility & contrast

On white

4.11
#CB41C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CB41C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41C6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41C6#FFFFFF#000000##000000
##CB41C61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3171CA
Deuteranopia (green-blind)
#6784C2
Tritanopia (blue-blind)
#D2537F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb41c6;
/* rgb */ color: rgb(203, 65, 198);
/* oklch */ color: oklch(62.0% 0.226 329.4);
Tailwind
colors: {
  custom: {
    50: '#de81d8',
    500: '#cb41c6',
    950: '#000000',
  },
}
SCSS
$custom: #cb41c6;
$custom-light: #de81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41c6",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 302.174,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.22605,
    "h": 329.4
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#CB41C6
secondary
#96D298
accent
#E04D48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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