#B15FAC#B15FAC

#B15FAC is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.145 H 329.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B15FAC
RGBrgb(177, 95, 172)
HSLhsl(304, 34%, 53%)
HSVhsv(304, 46%, 69%)
CMYKcmyk(0%, 46.3%, 2.8%, 30.6%)
CIE-LABlab(52.41, 44.30, -26.96)
CIE-LCHlch(52.41, 51.86, 328.68°)
OKLaboklab(60.79% 0.1246 -0.0735)
OKLCHoklch(60.79% 0.145 329.4)
XYZxyz(29.6697, 20.5117, 41.4181)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FAC #5FB164
analogous
#8D5FB1 #B15FAC #B15F83
triadic
#B15FAC #ACB15F #5FACB1
tetradic
#B15FAC #B18D5F #5FB164 #5F83B1
square
#B15FAC #B18D5F #5FB164 #5F83B1
split-complementary
#B15FAC #83B15F #5FB18D
monochromatic
#653161 #8E4589 #B15FAC #C588C1 #D9B1D7

Accessibility & contrast

On white

4.12
#B15FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B15FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FAC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FAC#FFFFFF#000000##000000
##B15FAC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AF
Deuteranopia (green-blind)
#7181AA
Tritanopia (blue-blind)
#B6667D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b15fac;
/* rgb */ color: rgb(177, 95, 172);
/* oklch */ color: oklch(60.8% 0.145 329.4);
Tailwind
colors: {
  custom: {
    50: '#ca8fc5',
    500: '#b15fac',
    950: '#000000',
  },
}
SCSS
$custom: #b15fac;
$custom-light: #ca8fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fac",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 303.659,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.14467,
    "h": 329.4
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#B15FAC
secondary
#A4C8A6
accent
#CB645D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #B15FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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