#B15FA8#B15FA8

#B15FA8 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.6% C 0.141 H 331.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B15FA8
RGBrgb(177, 95, 168)
HSLhsl(307, 34%, 53%)
HSVhsv(307, 46%, 69%)
CMYKcmyk(0%, 46.3%, 5.1%, 30.6%)
CIE-LABlab(52.24, 43.58, -24.89)
CIE-LCHlch(52.24, 50.19, 330.27°)
OKLaboklab(60.61% 0.1237 -0.0677)
OKLCHoklch(60.61% 0.141 331.3)
XYZxyz(29.2913, 20.3604, 39.4253)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FA8 #5FB168
analogous
#915FB1 #B15FA8 #B15F7F
triadic
#B15FA8 #A8B15F #5FA8B1
tetradic
#B15FA8 #B1915F #5FB168 #5F7FB1
square
#B15FA8 #B1915F #5FB168 #5F7FB1
split-complementary
#B15FA8 #7FB15F #5FB191
monochromatic
#65315F #8E4586 #B15FA8 #C588BE #D9B1D5

Accessibility & contrast

On white

4.14
#B15FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B15FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FA8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FA8#FFFFFF#000000##000000
##B15FA81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AB
Deuteranopia (green-blind)
#7381A6
Tritanopia (blue-blind)
#B7657C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b15fa8;
/* rgb */ color: rgb(177, 95, 168);
/* oklch */ color: oklch(60.6% 0.141 331.3);
Tailwind
colors: {
  custom: {
    50: '#ca8fc2',
    500: '#b15fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b15fa8;
$custom-light: #ca8fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fa8",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 306.585,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.14103,
    "h": 331.3
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#B15FA8
secondary
#A4C8A8
accent
#CB695D
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130D12
muted
#827D81

Preview Lab

Preview with #B15FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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