#C152C8#C152C8

#C152C8 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.5% C 0.200 H 325.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C152C8
RGBrgb(193, 82, 200)
HSLhsl(296, 52%, 55%)
HSVhsv(296, 59%, 78%)
CMYKcmyk(3.5%, 59%, 0%, 21.6%)
CIE-LABlab(53.54, 60.12, -41.22)
CIE-LCHlch(53.54, 72.89, 325.56°)
OKLaboklab(62.5% 0.1645 -0.114)
OKLCHoklch(62.5% 0.2 325.3)
XYZxyz(35.4341, 21.5442, 56.9244)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152C8 #59C852
analogous
#8652C8 #C152C8 #C85294
triadic
#C152C8 #C8C152 #52C8C1
tetradic
#C152C8 #C88652 #59C852 #5294C8
square
#C152C8 #C88652 #59C852 #5294C8
split-complementary
#C152C8 #94C852 #52C886
monochromatic
#742779 #A135A8 #C152C8 #D280D7 #E2AFE6

Accessibility & contrast

On white

3.96
#C152C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C152C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152C8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152C8#FFFFFF#000000##000000
##C152C81.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CC
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#C56285
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c152c8;
/* rgb */ color: rgb(193, 82, 200);
/* oklch */ color: oklch(62.5% 0.200 325.3);
Tailwind
colors: {
  custom: {
    50: '#d789d9',
    500: '#c152c8',
    950: '#000000',
  },
}
SCSS
$custom: #c152c8;
$custom-light: #d789d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c152c8",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 296.441,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62496,
    "c": 0.20016,
    "h": 325.3
  },
  "luminance": 0.21542
}

Semantic roles & 50–950 ramp

primary
#C152C8
secondary
#A5D4A2
accent
#DB4D55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C152C8

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

Preview Lab → · Contrast checker → · Palette generator →

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