#C152BF#C152BF

#C152BF is a light, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.192 H 328.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C152BF
RGBrgb(193, 82, 191)
HSLhsl(301, 47%, 54%)
HSVhsv(301, 58%, 76%)
CMYKcmyk(0%, 57.5%, 1%, 24.3%)
CIE-LABlab(53.10, 58.53, -36.74)
CIE-LCHlch(53.10, 69.11, 327.88°)
OKLaboklab(62.03% 0.1637 -0.1011)
OKLCHoklch(62.03% 0.192 328.3)
XYZxyz(34.4131, 21.1358, 51.5472)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152BF #52C154
analogous
#8C52C1 #C152BF #C15288
triadic
#C152BF #BFC152 #52BFC1
tetradic
#C152BF #C18C52 #52C154 #5288C1
square
#C152BF #C18C52 #52C154 #5288C1
split-complementary
#C152BF #88C152 #52C18C
monochromatic
#70286F #9D389C #C152BF #D17FD0 #E1ACE0

Accessibility & contrast

On white

4.02
#C152BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C152BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152BF#FFFFFF#000000##000000
##C152BF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#C75F81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c152bf;
/* rgb */ color: rgb(193, 82, 191);
/* oklch */ color: oklch(62.0% 0.192 328.3);
Tailwind
colors: {
  custom: {
    50: '#d689d2',
    500: '#c152bf',
    950: '#000000',
  },
}
SCSS
$custom: #c152bf;
$custom-light: #d689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c152bf",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 301.081,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.1924,
    "h": 328.3
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#C152BF
secondary
#A0CFA1
accent
#D75351
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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