#C151BB#C151BB

#C151BB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.7% C 0.190 H 329.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C151BB
RGBrgb(193, 81, 187)
HSLhsl(303, 47%, 54%)
HSVhsv(303, 58%, 76%)
CMYKcmyk(0%, 58%, 3.1%, 24.3%)
CIE-LABlab(52.74, 58.29, -34.99)
CIE-LCHlch(52.74, 67.99, 329.03°)
OKLaboklab(61.71% 0.1645 -0.0961)
OKLCHoklch(61.71% 0.19 329.7)
XYZxyz(33.9041, 20.8124, 49.2355)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151BB #51C157
analogous
#8F51C1 #C151BB #C15183
triadic
#C151BB #BBC151 #51BBC1
tetradic
#C151BB #C18F51 #51C157 #5183C1
square
#C151BB #C18F51 #51C157 #5183C1
split-complementary
#C151BB #83C151 #51C18F
monochromatic
#70286C #9D3897 #C151BB #D17ECD #E1ABDE

Accessibility & contrast

On white

4.07
#C151BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C151BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151BB#FFFFFF#000000##000000
##C151BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#C85C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c151bb;
/* rgb */ color: rgb(193, 81, 187);
/* oklch */ color: oklch(61.7% 0.190 329.7);
Tailwind
colors: {
  custom: {
    50: '#d688d0',
    500: '#c151bb',
    950: '#000000',
  },
}
SCSS
$custom: #c151bb;
$custom-light: #d688d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c151bb",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 303.214,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.19049,
    "h": 329.7
  },
  "luminance": 0.2081
}

Semantic roles & 50–950 ramp

primary
#C151BB
secondary
#9FCFA2
accent
#D75851
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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