#B15FA2#B15FA2

#B15FA2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.3% C 0.136 H 334.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B15FA2
RGBrgb(177, 95, 162)
HSLhsl(311, 34%, 53%)
HSVhsv(311, 46%, 69%)
CMYKcmyk(0%, 46.3%, 8.5%, 30.6%)
CIE-LABlab(52.00, 42.53, -21.76)
CIE-LCHlch(52.00, 47.77, 332.90°)
OKLaboklab(60.34% 0.1224 -0.0588)
OKLCHoklch(60.34% 0.136 334.3)
XYZxyz(28.7452, 20.1419, 36.5491)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15FA2 #5FB16E
analogous
#975FB1 #B15FA2 #B15F79
triadic
#B15FA2 #A2B15F #5FA2B1
tetradic
#B15FA2 #B1975F #5FB16E #5F79B1
square
#B15FA2 #B1975F #5FB16E #5F79B1
split-complementary
#B15FA2 #79B15F #5FB197
monochromatic
#65315B #8E4580 #B15FA2 #C588BA #D9B1D2

Accessibility & contrast

On white

4.18
#B15FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B15FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15FA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15FA2#FFFFFF#000000##000000
##B15FA21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#7580A0
Tritanopia (blue-blind)
#B86379
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b15fa2;
/* rgb */ color: rgb(177, 95, 162);
/* oklch */ color: oklch(60.3% 0.136 334.3);
Tailwind
colors: {
  custom: {
    50: '#ca8fbd',
    500: '#b15fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b15fa2;
$custom-light: #ca8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b15fa2",
  "rgb": {
    "r": 177,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 310.976,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.13578,
    "h": 334.3
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

primary
#B15FA2
secondary
#A4C8AB
accent
#CB715D
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130D12
muted
#827D81

Preview Lab

Preview with #B15FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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