#C152D9#C152D9

#C152D9 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.215 H 320.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C152D9
RGBrgb(193, 82, 217)
HSLhsl(289, 64%, 59%)
HSVhsv(289, 62%, 85%)
CMYKcmyk(11.1%, 62.2%, 0%, 14.9%)
CIE-LABlab(54.43, 63.24, -49.50)
CIE-LCHlch(54.43, 80.31, 321.95°)
OKLaboklab(63.43% 0.1653 -0.1381)
OKLCHoklch(63.43% 0.215 320.1)
XYZxyz(37.5325, 22.3835, 67.9756)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152D9 #6AD952
analogous
#7D52D9 #C152D9 #D952AD
triadic
#C152D9 #D9C152 #52D9C1
tetradic
#C152D9 #D97D52 #6AD952 #52ADD9
square
#C152D9 #D97D52 #6AD952 #52ADD9
split-complementary
#C152D9 #ADD952 #52D97D
monochromatic
#7D2091 #A82BC3 #C152D9 #D384E4 #E5B6EF

Accessibility & contrast

On white

3.83
#C152D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C152D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152D9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152D9#FFFFFF#000000##000000
##C152D91.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADD
Deuteranopia (green-blind)
#5D86D6
Tritanopia (blue-blind)
#C2688E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c152d9;
/* rgb */ color: rgb(193, 82, 217);
/* oklch */ color: oklch(63.4% 0.215 320.1);
Tailwind
colors: {
  custom: {
    50: '#d789e5',
    500: '#c152d9',
    950: '#000000',
  },
}
SCSS
$custom: #c152d9;
$custom-light: #d789e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c152d9",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 289.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.21536,
    "h": 320.1
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#C152D9
secondary
#B2DEA9
accent
#E7415E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152D9

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

Preview Lab → · Contrast checker → · Palette generator →

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