#C151BA#C151BA

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

Color values

HEX#C151BA
RGBrgb(193, 81, 186)
HSLhsl(304, 47%, 54%)
HSVhsv(304, 58%, 76%)
CMYKcmyk(0%, 58%, 3.6%, 24.3%)
CIE-LABlab(52.70, 58.12, -34.48)
CIE-LCHlch(52.70, 67.58, 329.32°)
OKLaboklab(61.66% 0.1644 -0.0946)
OKLCHoklch(61.66% 0.19 330.1)
XYZxyz(33.7974, 20.7698, 48.6737)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151BA #51C158
analogous
#9051C1 #C151BA #C15182
triadic
#C151BA #BAC151 #51BAC1
tetradic
#C151BA #C19051 #51C158 #5182C1
square
#C151BA #C19051 #51C158 #5182C1
split-complementary
#C151BA #82C151 #51C190
monochromatic
#70286B #9D3897 #C151BA #D17ECC #E1ABDE

Accessibility & contrast

On white

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

On black

5.15
#C151BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151BA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151BA#FFFFFF#000000##000000
##C151BA1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#6E83B7
Tritanopia (blue-blind)
#C85C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c151ba;
/* rgb */ color: rgb(193, 81, 186);
/* oklch */ color: oklch(61.7% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#d688cf',
    500: '#c151ba',
    950: '#000000',
  },
}
SCSS
$custom: #c151ba;
$custom-light: #d688cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c151ba",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 303.75,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.18966,
    "h": 330.1
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C151BA

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

Preview Lab → · Contrast checker → · Palette generator →

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