#C152BA#C152BA

#C152BA is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.188 H 330.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C152BA
RGBrgb(193, 82, 186)
HSLhsl(304, 47%, 54%)
HSVhsv(304, 58%, 76%)
CMYKcmyk(0%, 57.5%, 3.6%, 24.3%)
CIE-LABlab(52.86, 57.68, -34.22)
CIE-LCHlch(52.86, 67.06, 329.32°)
OKLaboklab(61.78% 0.1631 -0.0939)
OKLCHoklch(61.78% 0.188 330.1)
XYZxyz(33.8723, 20.9195, 48.6986)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152BA #52C159
analogous
#9152C1 #C152BA #C15283
triadic
#C152BA #BAC152 #52BAC1
tetradic
#C152BA #C19152 #52C159 #5283C1
square
#C152BA #C19152 #52C159 #5283C1
split-complementary
#C152BA #83C152 #52C191
monochromatic
#70286C #9D3897 #C152BA #D17FCC #E1ACDE

Accessibility & contrast

On white

4.05
#C152BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C152BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152BA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152BA#FFFFFF#000000##000000
##C152BA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BD
Deuteranopia (green-blind)
#6E84B7
Tritanopia (blue-blind)
#C85D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c152ba;
/* rgb */ color: rgb(193, 82, 186);
/* oklch */ color: oklch(61.8% 0.188 330.1);
Tailwind
colors: {
  custom: {
    50: '#d689cf',
    500: '#c152ba',
    950: '#000000',
  },
}
SCSS
$custom: #c152ba;
$custom-light: #d689cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c152ba",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 303.784,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.18818,
    "h": 330.1
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#C152BA
secondary
#A0CFA3
accent
#D75951
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C152BA

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

Preview Lab → · Contrast checker → · Palette generator →

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