#B15FA3#B15FA3

#B15FA3 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.4% C 0.137 H 333.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B15FA3
RGBrgb(177, 95, 163)
HSLhsl(310, 34%, 53%)
HSVhsv(310, 46%, 69%)
CMYKcmyk(0%, 46.3%, 7.9%, 30.6%)
CIE-LABlab(52.04, 42.70, -22.28)
CIE-LCHlch(52.04, 48.16, 332.44°)
OKLaboklab(60.39% 0.1226 -0.0603)
OKLCHoklch(60.39% 0.137 333.8)
XYZxyz(28.8344, 20.1776, 37.0191)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FA3 #5FB16D
analogous
#965FB1 #B15FA3 #B15F7A
triadic
#B15FA3 #A3B15F #5FA3B1
tetradic
#B15FA3 #B1965F #5FB16D #5F7AB1
square
#B15FA3 #B1965F #5FB16D #5F7AB1
split-complementary
#B15FA3 #7AB15F #5FB196
monochromatic
#65315C #8E4581 #B15FA3 #C588BB #D9B1D2

Accessibility & contrast

On white

4.17
#B15FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B15FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FA3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FA3#FFFFFF#000000##000000
##B15FA31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A5
Deuteranopia (green-blind)
#7580A1
Tritanopia (blue-blind)
#B86479
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b15fa3;
/* rgb */ color: rgb(177, 95, 163);
/* oklch */ color: oklch(60.4% 0.137 333.8);
Tailwind
colors: {
  custom: {
    50: '#ca8fbe',
    500: '#b15fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b15fa3;
$custom-light: #ca8fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fa3",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 310.244,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.13664,
    "h": 333.8
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#B15FA3
secondary
#A4C8AA
accent
#CB705D
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130D12
muted
#827D81

Preview Lab

Preview with #B15FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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