#CC38BE#CC38BE

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

Color values

HEX#CC38BE
RGBrgb(204, 56, 190)
HSLhsl(306, 59%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 72.5%, 6.9%, 20%)
CIE-LABlab(51.14, 71.07, -39.13)
CIE-LCHlch(51.14, 81.14, 331.16°)
OKLaboklab(60.92% 0.2041 -0.1076)
OKLCHoklch(60.92% 0.231 332.2)
XYZxyz(35.6104, 19.3863, 50.5716)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC38BE #38CC46
analogous
#9038CC #CC38BE #CC3874
triadic
#CC38BE #BECC38 #38BECC
tetradic
#CC38BE #CC9038 #38CC46 #3874CC
square
#CC38BE #CC9038 #38CC46 #3874CC
split-complementary
#CC38BE #74CC38 #38CC90
monochromatic
#6E1C66 #9E2993 #CC38BE #D869CE #E599DE

Accessibility & contrast

On white

4.31
#CC38BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC38BE#FFFFFF#000000##000000
##CC38BE1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC2
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#D54878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc38be;
/* rgb */ color: rgb(204, 56, 190);
/* oklch */ color: oklch(60.9% 0.231 332.2);
Tailwind
colors: {
  custom: {
    50: '#df7dd2',
    500: '#cc38be',
    950: '#000000',
  },
}
SCSS
$custom: #cc38be;
$custom-light: #df7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc38be",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 305.676,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.2307,
    "h": 332.2
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#CC38BE
secondary
#8FD195
accent
#E25445
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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