#CD38C8#CD38C8

#CD38C8 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.238 H 329.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD38C8
RGBrgb(205, 56, 200)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 72.7%, 2.4%, 19.6%)
CIE-LABlab(51.81, 72.83, -43.83)
CIE-LCHlch(51.81, 85.00, 328.96°)
OKLaboklab(61.61% 0.2054 -0.1211)
OKLCHoklch(61.61% 0.238 329.5)
XYZxyz(37.0161, 19.9804, 56.5394)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38C8 #38CD3D
analogous
#8738CD #CD38C8 #CD387D
triadic
#CD38C8 #C8CD38 #38C8CD
tetradic
#CD38C8 #CD8738 #38CD3D #387DCD
square
#CD38C8 #CD8738 #38CD3D #387DCD
split-complementary
#CD38C8 #7DCD38 #38CD87
monochromatic
#6F1C6C #A0289C #CD38C8 #D969D6 #E69AE3

Accessibility & contrast

On white

4.20
#CD38C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD38C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38C8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38C8#FFFFFF#000000##000000
##CD38C81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#6482C4
Tritanopia (blue-blind)
#D44D7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd38c8;
/* rgb */ color: rgb(205, 56, 200);
/* oklch */ color: oklch(61.6% 0.238 329.5);
Tailwind
colors: {
  custom: {
    50: '#e07dd9',
    500: '#cd38c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd38c8;
$custom-light: #e07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38c8",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 302.013,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.23846,
    "h": 329.5
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#CD38C8
secondary
#8FD192
accent
#E34A45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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