#CD38C3#CD38C3

#CD38C3 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.3% C 0.235 H 331.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CD38C3
RGBrgb(205, 56, 195)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 73%, 80%)
CMYKcmyk(0%, 72.7%, 4.9%, 19.6%)
CIE-LABlab(51.55, 72.05, -41.36)
CIE-LCHlch(51.55, 83.08, 330.14°)
OKLaboklab(61.34% 0.2053 -0.114)
OKLCHoklch(61.34% 0.235 331)
XYZxyz(36.4413, 19.7505, 53.5121)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38C3 #38CD42
analogous
#8C38CD #CD38C3 #CD3878
triadic
#CD38C3 #C3CD38 #38C3CD
tetradic
#CD38C3 #CD8C38 #38CD42 #3878CD
square
#CD38C3 #CD8C38 #38CD42 #3878CD
split-complementary
#CD38C3 #78CD38 #38CD8C
monochromatic
#6F1C69 #A02898 #CD38C3 #D969D2 #E69AE0

Accessibility & contrast

On white

4.24
#CD38C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CD38C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38C3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38C3#FFFFFF#000000##000000
##CD38C31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC7
Deuteranopia (green-blind)
#6682BF
Tritanopia (blue-blind)
#D54B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd38c3;
/* rgb */ color: rgb(205, 56, 195);
/* oklch */ color: oklch(61.3% 0.235 331.0);
Tailwind
colors: {
  custom: {
    50: '#e07dd5',
    500: '#cd38c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd38c3;
$custom-light: #e07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38c3",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 304.027,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.23481,
    "h": 331
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#CD38C3
secondary
#8FD194
accent
#E34F45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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