#CD38BD#CD38BD

#CD38BD is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.0% C 0.231 H 332.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD38BD
RGBrgb(205, 56, 189)
HSLhsl(306, 60%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 72.7%, 7.8%, 19.6%)
CIE-LABlab(51.25, 71.15, -38.36)
CIE-LCHlch(51.25, 80.83, 331.66°)
OKLaboklab(61.02% 0.205 -0.1053)
OKLCHoklch(61.02% 0.231 332.8)
XYZxyz(35.7765, 19.4846, 50.0109)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38BD #38CD48
analogous
#9238CD #CD38BD #CD3872
triadic
#CD38BD #BDCD38 #38BDCD
tetradic
#CD38BD #CD9238 #38CD48 #3872CD
square
#CD38BD #CD9238 #38CD48 #3872CD
split-complementary
#CD38BD #72CD38 #38CD92
monochromatic
#6F1C66 #A02893 #CD38BD #D969CD #E69ADD

Accessibility & contrast

On white

4.29
#CD38BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD38BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38BD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38BD#FFFFFF#000000##000000
##CD38BD1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#316DC1
Deuteranopia (green-blind)
#6982B9
Tritanopia (blue-blind)
#D64877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd38bd;
/* rgb */ color: rgb(205, 56, 189);
/* oklch */ color: oklch(61.0% 0.231 332.8);
Tailwind
colors: {
  custom: {
    50: '#e07dd1',
    500: '#cd38bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd38bd;
$custom-light: #e07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38bd",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 306.443,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.2305,
    "h": 332.8
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#CD38BD
secondary
#8FD197
accent
#E35645
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CD38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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