#CD38BB#CD38BB

#CD38BB is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.229 H 333.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CD38BB
RGBrgb(205, 56, 187)
HSLhsl(307, 60%, 51%)
HSVhsv(307, 73%, 80%)
CMYKcmyk(0%, 72.7%, 8.8%, 19.6%)
CIE-LABlab(51.15, 70.85, -37.36)
CIE-LCHlch(51.15, 80.09, 332.20°)
OKLaboklab(60.92% 0.2049 -0.1024)
OKLCHoklch(60.92% 0.229 333.4)
XYZxyz(35.5609, 19.3984, 48.8754)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38BB #38CD4A
analogous
#9438CD #CD38BB #CD3870
triadic
#CD38BB #BBCD38 #38BBCD
tetradic
#CD38BB #CD9438 #38CD4A #3870CD
square
#CD38BB #CD9438 #38CD4A #3870CD
split-complementary
#CD38BB #70CD38 #38CD94
monochromatic
#6F1C65 #A02891 #CD38BB #D969CC #E69ADC

Accessibility & contrast

On white

4.30
#CD38BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD38BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38BB#FFFFFF#000000##000000
##CD38BB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#336CBF
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#D64776
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd38bb;
/* rgb */ color: rgb(205, 56, 187);
/* oklch */ color: oklch(60.9% 0.229 333.4);
Tailwind
colors: {
  custom: {
    50: '#e07dd0',
    500: '#cd38bb',
    950: '#000000',
  },
}
SCSS
$custom: #cd38bb;
$custom-light: #e07dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38bb",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 307.248,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.22909,
    "h": 333.4
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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