#CB41C2#CB41C2

#CB41C2 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.8% C 0.223 H 330.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB41C2
RGBrgb(203, 65, 194)
HSLhsl(304, 57%, 53%)
HSVhsv(304, 68%, 80%)
CMYKcmyk(0%, 68%, 4.4%, 20.4%)
CIE-LABlab(52.26, 68.40, -39.69)
CIE-LCHlch(52.26, 79.08, 329.88°)
OKLaboklab(61.77% 0.1944 -0.1093)
OKLCHoklch(61.77% 0.223 330.7)
XYZxyz(36.2564, 20.3749, 53.0516)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41C2 #41CB4A
analogous
#8F41CB #CB41C2 #CB417D
triadic
#CB41C2 #C2CB41 #41C2CB
tetradic
#CB41C2 #CB8F41 #41CB4A #417DCB
square
#CB41C2 #CB8F41 #41CB4A #417DCB
split-complementary
#CB41C2 #7DCB41 #41CB8F
monochromatic
#721F6D #A22C9B #CB41C2 #D871D1 #E5A1E1

Accessibility & contrast

On white

4.14
#CB41C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB41C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41C2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41C2#FFFFFF#000000##000000
##CB41C21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#D3517D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb41c2;
/* rgb */ color: rgb(203, 65, 194);
/* oklch */ color: oklch(61.8% 0.223 330.7);
Tailwind
colors: {
  custom: {
    50: '#de81d5',
    500: '#cb41c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb41c2;
$custom-light: #de81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41c2",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 303.913,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61766,
    "c": 0.22301,
    "h": 330.7
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#CB41C2
secondary
#96D29A
accent
#E05148
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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