#CB41B7#CB41B7

#CB41B7 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.215 H 334.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB41B7
RGBrgb(203, 65, 183)
HSLhsl(309, 57%, 53%)
HSVhsv(309, 68%, 80%)
CMYKcmyk(0%, 68%, 9.9%, 20.4%)
CIE-LABlab(51.72, 66.70, -34.16)
CIE-LCHlch(51.72, 74.94, 332.88°)
OKLaboklab(61.2% 0.1935 -0.0933)
OKLCHoklch(61.2% 0.215 334.3)
XYZxyz(35.0664, 19.8989, 46.7846)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41B7 #41CB55
analogous
#9A41CB #CB41B7 #CB4172
triadic
#CB41B7 #B7CB41 #41B7CB
tetradic
#CB41B7 #CB9A41 #41CB55 #4172CB
square
#CB41B7 #CB9A41 #41CB55 #4172CB
split-complementary
#CB41B7 #72CB41 #41CB9A
monochromatic
#721F66 #A22C91 #CB41B7 #D871C9 #E5A1DB

Accessibility & contrast

On white

4.22
#CB41B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB41B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41B7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41B7#FFFFFF#000000##000000
##CB41B71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb41b7;
/* rgb */ color: rgb(203, 65, 183);
/* oklch */ color: oklch(61.2% 0.215 334.3);
Tailwind
colors: {
  custom: {
    50: '#de81cd',
    500: '#cb41b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb41b7;
$custom-light: #de81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41b7",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 308.696,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61204,
    "c": 0.21487,
    "h": 334.3
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#CB41B7
secondary
#96D29F
accent
#E05E48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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