#C152BD#C152BD

#C152BD is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.191 H 329.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C152BD
RGBrgb(193, 82, 189)
HSLhsl(302, 47%, 54%)
HSVhsv(302, 58%, 76%)
CMYKcmyk(0%, 57.5%, 2.1%, 24.3%)
CIE-LABlab(53.00, 58.19, -35.74)
CIE-LCHlch(53.00, 68.29, 328.44°)
OKLaboklab(61.93% 0.1635 -0.0982)
OKLCHoklch(61.93% 0.191 329)
XYZxyz(34.1945, 21.0484, 50.3959)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152BD #52C156
analogous
#8E52C1 #C152BD #C15286
triadic
#C152BD #BDC152 #52BDC1
tetradic
#C152BD #C18E52 #52C156 #5286C1
square
#C152BD #C18E52 #52C156 #5286C1
split-complementary
#C152BD #86C152 #52C18E
monochromatic
#70286E #9D389A #C152BD #D17FCE #E1ACDF

Accessibility & contrast

On white

4.03
#C152BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C152BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152BD#FFFFFF#000000##000000
##C152BD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#C75E80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c152bd;
/* rgb */ color: rgb(193, 82, 189);
/* oklch */ color: oklch(61.9% 0.191 329.0);
Tailwind
colors: {
  custom: {
    50: '#d689d1',
    500: '#c152bd',
    950: '#000000',
  },
}
SCSS
$custom: #c152bd;
$custom-light: #d689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c152bd",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 302.162,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.1907,
    "h": 329
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C152BD

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

Preview Lab → · Contrast checker → · Palette generator →

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