#C152CD#C152CD

#C152CD is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.205 H 323.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C152CD
RGBrgb(193, 82, 205)
HSLhsl(294, 55%, 56%)
HSVhsv(294, 60%, 80%)
CMYKcmyk(5.9%, 60%, 0%, 19.6%)
CIE-LABlab(53.79, 61.02, -43.68)
CIE-LCHlch(53.79, 75.04, 324.40°)
OKLaboklab(62.76% 0.1648 -0.1212)
OKLCHoklch(62.76% 0.205 323.7)
XYZxyz(36.0280, 21.7818, 60.0524)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152CD #5ECD52
analogous
#8452CD #C152CD #CD529C
triadic
#C152CD #CDC152 #52CDC1
tetradic
#C152CD #CD8452 #5ECD52 #529CCD
square
#C152CD #CD8452 #5ECD52 #529CCD
split-complementary
#C152CD #9CCD52 #52CD84
monochromatic
#772580 #A333AF #C152CD #D281DB #E3B1E8

Accessibility & contrast

On white

3.92
#C152CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#C152CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152CD#FFFFFF#000000##000000
##C152CD1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#6585CA
Tritanopia (blue-blind)
#C46488
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c152cd;
/* rgb */ color: rgb(193, 82, 205);
/* oklch */ color: oklch(62.8% 0.205 323.7);
Tailwind
colors: {
  custom: {
    50: '#d789dd',
    500: '#c152cd',
    950: '#000000',
  },
}
SCSS
$custom: #c152cd;
$custom-light: #d789dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c152cd",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 294.146,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62764,
    "c": 0.20457,
    "h": 323.7
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

primary
#C152CD
secondary
#A9D7A4
accent
#DE4958
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C152CD

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

Preview Lab → · Contrast checker → · Palette generator →

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