#B15CA1#B15CA1

#B15CA1 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 59.9% C 0.140 H 334.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B15CA1
RGBrgb(177, 92, 161)
HSLhsl(311, 35%, 53%)
HSVhsv(311, 48%, 69%)
CMYKcmyk(0%, 48%, 9%, 30.6%)
CIE-LABlab(51.35, 43.91, -22.16)
CIE-LCHlch(51.35, 49.19, 333.22°)
OKLaboklab(59.85% 0.1267 -0.0599)
OKLCHoklch(59.85% 0.14 334.7)
XYZxyz(28.3916, 19.5764, 35.9945)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CA1 #5CB16C
analogous
#965CB1 #B15CA1 #B15C76
triadic
#B15CA1 #A1B15C #5CA1B1
tetradic
#B15CA1 #B1965C #5CB16C #5C76B1
square
#B15CA1 #B1965C #5CB16C #5C76B1
split-complementary
#B15CA1 #76B15C #5CB196
monochromatic
#632F59 #8D437F #B15CA1 #C585B9 #D9AFD1

Accessibility & contrast

On white

4.27
#B15CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B15CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CA1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CA1#FFFFFF#000000##000000
##B15CA11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A3
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#B86077
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b15ca1;
/* rgb */ color: rgb(177, 92, 161);
/* oklch */ color: oklch(59.9% 0.140 334.7);
Tailwind
colors: {
  custom: {
    50: '#ca8dbd',
    500: '#b15ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b15ca1;
$custom-light: #ca8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ca1",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 311.294,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.14011,
    "h": 334.7
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#B15CA1
secondary
#A2C7A9
accent
#CB715C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B15CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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