#C152D1#C152D1

#C152D1 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.0% C 0.208 H 322.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C152D1
RGBrgb(193, 82, 209)
HSLhsl(292, 58%, 57%)
HSVhsv(292, 61%, 82%)
CMYKcmyk(7.7%, 60.8%, 0%, 18%)
CIE-LABlab(54.00, 61.75, -45.63)
CIE-LCHlch(54.00, 76.78, 323.54°)
OKLaboklab(62.98% 0.165 -0.1268)
OKLCHoklch(62.98% 0.208 322.5)
XYZxyz(36.5171, 21.9774, 62.6278)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152D1 #62D152
analogous
#8252D1 #C152D1 #D152A2
triadic
#C152D1 #D1C152 #52D1C1
tetradic
#C152D1 #D18252 #62D152 #52A2D1
square
#C152D1 #D18252 #62D152 #52A2D1
split-complementary
#C152D1 #A2D152 #52D182
monochromatic
#792385 #A530B6 #C152D1 #D282DE #E4B3EB

Accessibility & contrast

On white

3.89
#C152D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#C152D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152D1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152D1#FFFFFF#000000##000000
##C152D11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3879D5
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#C4658A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c152d1;
/* rgb */ color: rgb(193, 82, 209);
/* oklch */ color: oklch(63.0% 0.208 322.5);
Tailwind
colors: {
  custom: {
    50: '#d789df',
    500: '#c152d1',
    950: '#000000',
  },
}
SCSS
$custom: #c152d1;
$custom-light: #d789df;
$custom-dark: #000000;
JSON
{
  "hex": "#c152d1",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 292.441,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.20814,
    "h": 322.5
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#C152D1
secondary
#ACD9A6
accent
#E1475A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C152D1

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

Preview Lab → · Contrast checker → · Palette generator →

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