#C152C7#C152C7

#C152C7 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.4% C 0.199 H 325.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C152C7
RGBrgb(193, 82, 199)
HSLhsl(297, 51%, 55%)
HSVhsv(297, 59%, 78%)
CMYKcmyk(3%, 58.8%, 0%, 22%)
CIE-LABlab(53.49, 59.94, -40.73)
CIE-LCHlch(53.49, 72.47, 325.80°)
OKLaboklab(62.44% 0.1644 -0.1126)
OKLCHoklch(62.44% 0.199 325.6)
XYZxyz(35.3177, 21.4976, 56.3110)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152C7 #58C752
analogous
#8652C7 #C152C7 #C75293
triadic
#C152C7 #C7C152 #52C7C1
tetradic
#C152C7 #C78652 #58C752 #5293C7
square
#C152C7 #C78652 #58C752 #5293C7
split-complementary
#C152C7 #93C752 #52C786
monochromatic
#742778 #A036A6 #C152C7 #D280D6 #E2AEE5

Accessibility & contrast

On white

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

On black

5.30
#C152C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152C7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152C7#FFFFFF#000000##000000
##C152C71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#6885C4
Tritanopia (blue-blind)
#C56285
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c152c7;
/* rgb */ color: rgb(193, 82, 199);
/* oklch */ color: oklch(62.4% 0.199 325.6);
Tailwind
colors: {
  custom: {
    50: '#d789d8',
    500: '#c152c7',
    950: '#000000',
  },
}
SCSS
$custom: #c152c7;
$custom-light: #d789d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c152c7",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 296.923,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62443,
    "c": 0.19929,
    "h": 325.6
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#C152C7
secondary
#A4D3A2
accent
#DB4D54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C152C7

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

Preview Lab → · Contrast checker → · Palette generator →

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