#CD41B8#CD41B8

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

Color values

HEX#CD41B8
RGBrgb(205, 65, 184)
HSLhsl(309, 58%, 53%)
HSVhsv(309, 68%, 80%)
CMYKcmyk(0%, 68.3%, 10.2%, 19.6%)
CIE-LABlab(52.09, 67.33, -34.14)
CIE-LCHlch(52.09, 75.50, 333.11°)
OKLaboklab(61.55% 0.1957 -0.0933)
OKLCHoklch(61.55% 0.217 334.5)
XYZxyz(35.7192, 20.2234, 47.3604)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD41B8 #41CD56
analogous
#9C41CD #CD41B8 #CD4172
triadic
#CD41B8 #B8CD41 #41B8CD
tetradic
#CD41B8 #CD9C41 #41CD56 #4172CD
square
#CD41B8 #CD9C41 #41CD56 #4172CD
split-complementary
#CD41B8 #72CD41 #41CD9C
monochromatic
#751F68 #A52C93 #CD41B8 #DA71CA #E6A2DC

Accessibility & contrast

On white

4.16
#CD41B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD41B8#FFFFFF#000000##000000
##CD41B81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#6F84B5
Tritanopia (blue-blind)
#D74C77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd41b8;
/* rgb */ color: rgb(205, 65, 184);
/* oklch */ color: oklch(61.5% 0.217 334.5);
Tailwind
colors: {
  custom: {
    50: '#e081cd',
    500: '#cd41b8',
    950: '#000000',
  },
}
SCSS
$custom: #cd41b8;
$custom-light: #e081cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd41b8",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 309,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.21676,
    "h": 334.5
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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