#CD38C5#CD38C5

#CD38C5 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.236 H 330.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD38C5
RGBrgb(205, 56, 197)
HSLhsl(303, 60%, 51%)
HSVhsv(303, 73%, 80%)
CMYKcmyk(0%, 72.7%, 3.9%, 19.6%)
CIE-LABlab(51.66, 72.36, -42.35)
CIE-LCHlch(51.66, 83.84, 329.66°)
OKLaboklab(61.45% 0.2053 -0.1168)
OKLCHoklch(61.45% 0.236 330.4)
XYZxyz(36.6689, 19.8416, 54.7110)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38C5 #38CD40
analogous
#8A38CD #CD38C5 #CD387A
triadic
#CD38C5 #C5CD38 #38C5CD
tetradic
#CD38C5 #CD8A38 #38CD40 #387ACD
square
#CD38C5 #CD8A38 #38CD40 #387ACD
split-complementary
#CD38C5 #7ACD38 #38CD8A
monochromatic
#6F1C6A #A02899 #CD38C5 #D969D3 #E69AE2

Accessibility & contrast

On white

4.23
#CD38C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD38C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38C5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38C5#FFFFFF#000000##000000
##CD38C51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#6582C1
Tritanopia (blue-blind)
#D54C7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd38c5;
/* rgb */ color: rgb(205, 56, 197);
/* oklch */ color: oklch(61.4% 0.236 330.4);
Tailwind
colors: {
  custom: {
    50: '#e07dd7',
    500: '#cd38c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd38c5;
$custom-light: #e07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38c5",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 303.221,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.23626,
    "h": 330.4
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#CD38C5
secondary
#8FD193
accent
#E34D45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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