#CB41C7#CB41C7

#CB41C7 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.227 H 329.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CB41C7
RGBrgb(203, 65, 199)
HSLhsl(302, 57%, 53%)
HSVhsv(302, 68%, 80%)
CMYKcmyk(0%, 68%, 2%, 20.4%)
CIE-LABlab(52.51, 69.20, -42.17)
CIE-LCHlch(52.51, 81.04, 328.64°)
OKLaboklab(62.03% 0.1947 -0.1164)
OKLCHoklch(62.03% 0.227 329.1)
XYZxyz(36.8274, 20.6033, 56.0589)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41C7 #41CB45
analogous
#8A41CB #CB41C7 #CB4182
triadic
#CB41C7 #C7CB41 #41C7CB
tetradic
#CB41C7 #CB8A41 #41CB45 #4182CB
square
#CB41C7 #CB8A41 #41CB45 #4182CB
split-complementary
#CB41C7 #82CB41 #41CB8A
monochromatic
#721F70 #A22C9F #CB41C7 #D871D5 #E5A1E3

Accessibility & contrast

On white

4.10
#CB41C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB41C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41C7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41C7#FFFFFF#000000##000000
##CB41C71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3071CB
Deuteranopia (green-blind)
#6784C3
Tritanopia (blue-blind)
#D2537F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb41c7;
/* rgb */ color: rgb(203, 65, 199);
/* oklch */ color: oklch(62.0% 0.227 329.1);
Tailwind
colors: {
  custom: {
    50: '#de81d8',
    500: '#cb41c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb41c7;
$custom-light: #de81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41c7",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 301.739,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62031,
    "c": 0.22682,
    "h": 329.1
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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