#B15FA4#B15FA4

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

Color values

HEX#B15FA4
RGBrgb(177, 95, 164)
HSLhsl(310, 34%, 53%)
HSVhsv(310, 46%, 69%)
CMYKcmyk(0%, 46.3%, 7.3%, 30.6%)
CIE-LABlab(52.08, 42.88, -22.81)
CIE-LCHlch(52.08, 48.56, 331.99°)
OKLaboklab(60.43% 0.1228 -0.0618)
OKLCHoklch(60.43% 0.138 333.3)
XYZxyz(28.9244, 20.2136, 37.4929)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FA4 #5FB16C
analogous
#955FB1 #B15FA4 #B15F7B
triadic
#B15FA4 #A4B15F #5FA4B1
tetradic
#B15FA4 #B1955F #5FB16C #5F7BB1
square
#B15FA4 #B1955F #5FB16C #5F7BB1
split-complementary
#B15FA4 #7BB15F #5FB195
monochromatic
#65315C #8E4582 #B15FA4 #C588BB #D9B1D3

Accessibility & contrast

On white

4.16
#B15FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B15FA4#FFFFFF#000000##000000
##B15FA41.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A6
Deuteranopia (green-blind)
#7481A2
Tritanopia (blue-blind)
#B8647A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b15fa4;
/* rgb */ color: rgb(177, 95, 164);
/* oklch */ color: oklch(60.4% 0.138 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca8fbf',
    500: '#b15fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b15fa4;
$custom-light: #ca8fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fa4",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 309.512,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.1375,
    "h": 333.3
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#B15FA4
secondary
#A4C8AA
accent
#CB6F5D
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130D12
muted
#827D81

Preview Lab

Preview with #B15FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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