#CD38C1#CD38C1

#CD38C1 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.233 H 331.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CD38C1
RGBrgb(205, 56, 193)
HSLhsl(305, 60%, 51%)
HSVhsv(305, 73%, 80%)
CMYKcmyk(0%, 72.7%, 5.9%, 19.6%)
CIE-LABlab(51.45, 71.75, -40.36)
CIE-LCHlch(51.45, 82.32, 330.64°)
OKLaboklab(61.23% 0.2052 -0.1111)
OKLCHoklch(61.23% 0.233 331.6)
XYZxyz(36.2167, 19.6607, 52.3292)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38C1 #38CD44
analogous
#8E38CD #CD38C1 #CD3876
triadic
#CD38C1 #C1CD38 #38C1CD
tetradic
#CD38C1 #CD8E38 #38CD44 #3876CD
square
#CD38C1 #CD8E38 #38CD44 #3876CD
split-complementary
#CD38C1 #76CD38 #38CD8E
monochromatic
#6F1C68 #A02896 #CD38C1 #D969D0 #E69ADF

Accessibility & contrast

On white

4.26
#CD38C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CD38C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38C1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38C1#FFFFFF#000000##000000
##CD38C11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC5
Deuteranopia (green-blind)
#6782BD
Tritanopia (blue-blind)
#D54A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd38c1;
/* rgb */ color: rgb(205, 56, 193);
/* oklch */ color: oklch(61.2% 0.233 331.6);
Tailwind
colors: {
  custom: {
    50: '#e07dd4',
    500: '#cd38c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd38c1;
$custom-light: #e07dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38c1",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 304.832,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.23336,
    "h": 331.6
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#CD38C1
secondary
#8FD195
accent
#E35245
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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