#C151BD#C151BD

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

Color values

HEX#C151BD
RGBrgb(193, 81, 189)
HSLhsl(302, 47%, 54%)
HSVhsv(302, 58%, 76%)
CMYKcmyk(0%, 58%, 2.1%, 24.3%)
CIE-LABlab(52.84, 58.63, -35.99)
CIE-LCHlch(52.84, 68.80, 328.46°)
OKLaboklab(61.81% 0.1647 -0.099)
OKLCHoklch(61.81% 0.192 329)
XYZxyz(34.1197, 20.8987, 50.3710)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151BD #51C155
analogous
#8D51C1 #C151BD #C15185
triadic
#C151BD #BDC151 #51BDC1
tetradic
#C151BD #C18D51 #51C155 #5185C1
square
#C151BD #C18D51 #51C155 #5185C1
split-complementary
#C151BD #85C151 #51C18D
monochromatic
#70286D #9D3899 #C151BD #D17ECE #E1ABDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C151BD#FFFFFF#000000##000000
##C151BD1.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)
#4774C0
Deuteranopia (green-blind)
#6C83BA
Tritanopia (blue-blind)
#C75D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c151bd;
/* rgb */ color: rgb(193, 81, 189);
/* oklch */ color: oklch(61.8% 0.192 329.0);
Tailwind
colors: {
  custom: {
    50: '#d788d1',
    500: '#c151bd',
    950: '#000000',
  },
}
SCSS
$custom: #c151bd;
$custom-light: #d788d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c151bd",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 302.143,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61808,
    "c": 0.19217,
    "h": 329
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#C151BD
secondary
#9FCFA1
accent
#D75651
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C151BD

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

Preview Lab → · Contrast checker → · Palette generator →

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