#CD38BC#CD38BC

#CD38BC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.230 H 333.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CD38BC
RGBrgb(205, 56, 188)
HSLhsl(307, 60%, 51%)
HSVhsv(307, 73%, 80%)
CMYKcmyk(0%, 72.7%, 8.3%, 19.6%)
CIE-LABlab(51.20, 71.00, -37.86)
CIE-LCHlch(51.20, 80.46, 331.93°)
OKLaboklab(60.97% 0.205 -0.1039)
OKLCHoklch(60.97% 0.23 333.1)
XYZxyz(35.6683, 19.4413, 49.4412)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38BC #38CD49
analogous
#9338CD #CD38BC #CD3871
triadic
#CD38BC #BCCD38 #38BCCD
tetradic
#CD38BC #CD9338 #38CD49 #3871CD
square
#CD38BC #CD9338 #38CD49 #3871CD
split-complementary
#CD38BC #71CD38 #38CD93
monochromatic
#6F1C65 #A02892 #CD38BC #D969CC #E69ADD

Accessibility & contrast

On white

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

On black

4.89
#CD38BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38BC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38BC#FFFFFF#000000##000000
##CD38BC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#326CC0
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#D64777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd38bc;
/* rgb */ color: rgb(205, 56, 188);
/* oklch */ color: oklch(61.0% 0.230 333.1);
Tailwind
colors: {
  custom: {
    50: '#e07dd0',
    500: '#cd38bc',
    950: '#000000',
  },
}
SCSS
$custom: #cd38bc;
$custom-light: #e07dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38bc",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 306.846,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.2298,
    "h": 333.1
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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