#CD38C0#CD38C0

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

Color values

HEX#CD38C0
RGBrgb(205, 56, 192)
HSLhsl(305, 60%, 51%)
HSVhsv(305, 73%, 80%)
CMYKcmyk(0%, 72.7%, 6.3%, 19.6%)
CIE-LABlab(51.40, 71.60, -39.87)
CIE-LCHlch(51.40, 81.95, 330.89°)
OKLaboklab(61.18% 0.2052 -0.1097)
OKLCHoklch(61.18% 0.233 331.9)
XYZxyz(36.1055, 19.6162, 51.7437)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38C0 #38CD45
analogous
#8F38CD #CD38C0 #CD3875
triadic
#CD38C0 #C0CD38 #38C0CD
tetradic
#CD38C0 #CD8F38 #38CD45 #3875CD
square
#CD38C0 #CD8F38 #38CD45 #3875CD
split-complementary
#CD38C0 #75CD38 #38CD8F
monochromatic
#6F1C68 #A02895 #CD38C0 #D969CF #E69ADF

Accessibility & contrast

On white

4.27
#CD38C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CD38C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38C0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38C0#FFFFFF#000000##000000
##CD38C01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC4
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#D64979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd38c0;
/* rgb */ color: rgb(205, 56, 192);
/* oklch */ color: oklch(61.2% 0.233 331.9);
Tailwind
colors: {
  custom: {
    50: '#e07dd3',
    500: '#cd38c0',
    950: '#000000',
  },
}
SCSS
$custom: #cd38c0;
$custom-light: #e07dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38c0",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 305.235,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.23265,
    "h": 331.9
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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