#B15BC2#B15BC2

#B15BC2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.3% C 0.172 H 320.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B15BC2
RGBrgb(177, 91, 194)
HSLhsl(290, 46%, 56%)
HSVhsv(290, 53%, 76%)
CMYKcmyk(8.8%, 53.1%, 0%, 23.9%)
CIE-LABlab(52.65, 50.52, -39.33)
CIE-LCHlch(52.65, 64.02, 322.10°)
OKLaboklab(61.29% 0.1337 -0.109)
OKLCHoklch(61.29% 0.173 320.8)
XYZxyz(31.6090, 20.7257, 53.3639)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BC2 #6CC25B
analogous
#7D5BC2 #B15BC2 #C25B9F
triadic
#B15BC2 #C2B15B #5BC2B1
tetradic
#B15BC2 #C27D5B #6CC25B #5B9FC2
square
#B15BC2 #C27D5B #6CC25B #5B9FC2
split-complementary
#B15BC2 #9FC25B #5BC27D
monochromatic
#6A2C77 #923DA3 #B15BC2 #C688D3 #DBB4E3

Accessibility & contrast

On white

4.08
#B15BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B15BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BC2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BC2#FFFFFF#000000##000000
##B15BC21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#6481BF
Tritanopia (blue-blind)
#B26986
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b15bc2;
/* rgb */ color: rgb(177, 91, 194);
/* oklch */ color: oklch(61.3% 0.172 320.8);
Tailwind
colors: {
  custom: {
    50: '#cb8dd5',
    500: '#b15bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b15bc2;
$custom-light: #cb8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15bc2",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 290.097,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.1725,
    "h": 320.8
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#B15BC2
secondary
#AED2A7
accent
#D55268
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B15BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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