#CD38BE#CD38BE

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

Color values

HEX#CD38BE
RGBrgb(205, 56, 190)
HSLhsl(306, 60%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 72.7%, 7.3%, 19.6%)
CIE-LABlab(51.30, 71.30, -38.87)
CIE-LCHlch(51.30, 81.20, 331.40°)
OKLaboklab(61.07% 0.2051 -0.1068)
OKLCHoklch(61.07% 0.231 332.5)
XYZxyz(35.8854, 19.5282, 50.5845)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD38BE #38CD47
analogous
#9138CD #CD38BE #CD3873
triadic
#CD38BE #BECD38 #38BECD
tetradic
#CD38BE #CD9138 #38CD47 #3873CD
square
#CD38BE #CD9138 #38CD47 #3873CD
split-complementary
#CD38BE #73CD38 #38CD91
monochromatic
#6F1C66 #A02894 #CD38BE #D969CE #E69ADE

Accessibility & contrast

On white

4.28
#CD38BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD38BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD38BE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD38BE#FFFFFF#000000##000000
##CD38BE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#D64878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd38be;
/* rgb */ color: rgb(205, 56, 190);
/* oklch */ color: oklch(61.1% 0.231 332.5);
Tailwind
colors: {
  custom: {
    50: '#e07dd2',
    500: '#cd38be',
    950: '#000000',
  },
}
SCSS
$custom: #cd38be;
$custom-light: #e07dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd38be",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 306.04,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.23122,
    "h": 332.5
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#CD38BE
secondary
#8FD196
accent
#E35545
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CD38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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