#CC38C0#CC38C0

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

Color values

HEX#CC38C0
RGBrgb(204, 56, 192)
HSLhsl(305, 59%, 51%)
HSVhsv(305, 73%, 80%)
CMYKcmyk(0%, 72.5%, 5.9%, 20%)
CIE-LABlab(51.24, 71.38, -40.13)
CIE-LCHlch(51.24, 81.89, 330.65°)
OKLaboklab(61.03% 0.2042 -0.1105)
OKLCHoklch(61.03% 0.232 331.6)
XYZxyz(35.8305, 19.4744, 51.7308)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC38C0 #38CC44
analogous
#8E38CC #CC38C0 #CC3876
triadic
#CC38C0 #C0CC38 #38C0CC
tetradic
#CC38C0 #CC8E38 #38CC44 #3876CC
square
#CC38C0 #CC8E38 #38CC44 #3876CC
split-complementary
#CC38C0 #76CC38 #38CC8E
monochromatic
#6E1C67 #9E2995 #CC38C0 #D869CF #E599DF

Accessibility & contrast

On white

4.29
#CC38C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC38C0#FFFFFF#000000##000000
##CC38C01.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#D44979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc38c0;
/* rgb */ color: rgb(204, 56, 192);
/* oklch */ color: oklch(61.0% 0.232 331.6);
Tailwind
colors: {
  custom: {
    50: '#df7dd3',
    500: '#cc38c0',
    950: '#000000',
  },
}
SCSS
$custom: #cc38c0;
$custom-light: #df7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc38c0",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 304.865,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.23214,
    "h": 331.6
  },
  "luminance": 0.19471
}

Semantic roles & 50–950 ramp

primary
#CC38C0
secondary
#8FD194
accent
#E25245
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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