#CD41B7#CD41B7

#CD41B7 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.216 H 334.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD41B7
RGBrgb(205, 65, 183)
HSLhsl(309, 58%, 53%)
HSVhsv(309, 68%, 80%)
CMYKcmyk(0%, 68.3%, 10.7%, 19.6%)
CIE-LABlab(52.04, 67.18, -33.63)
CIE-LCHlch(52.04, 75.13, 333.41°)
OKLaboklab(61.5% 0.1956 -0.0918)
OKLCHoklch(61.5% 0.216 334.9)
XYZxyz(35.6147, 20.1816, 46.8103)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD41B7 #41CD57
analogous
#9D41CD #CD41B7 #CD4171
triadic
#CD41B7 #B7CD41 #41B7CD
tetradic
#CD41B7 #CD9D41 #41CD57 #4171CD
square
#CD41B7 #CD9D41 #41CD57 #4171CD
split-complementary
#CD41B7 #71CD41 #41CD9D
monochromatic
#751F67 #A52C92 #CD41B7 #DA71C9 #E6A2DC

Accessibility & contrast

On white

4.17
#CD41B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD41B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD41B7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD41B7#FFFFFF#000000##000000
##CD41B71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#406FBA
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#D74B77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd41b7;
/* rgb */ color: rgb(205, 65, 183);
/* oklch */ color: oklch(61.5% 0.216 334.9);
Tailwind
colors: {
  custom: {
    50: '#e081cd',
    500: '#cd41b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd41b7;
$custom-light: #e081cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd41b7",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 309.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61497,
    "c": 0.21603,
    "h": 334.9
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#CD41B7
secondary
#97D3A0
accent
#E25F46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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