#B15BC7#B15BC7

#B15BC7 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.6% C 0.177 H 319.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B15BC7
RGBrgb(177, 91, 199)
HSLhsl(288, 49%, 57%)
HSVhsv(288, 54%, 78%)
CMYKcmyk(11.1%, 54.3%, 0%, 22%)
CIE-LABlab(52.90, 51.51, -41.80)
CIE-LCHlch(52.90, 66.34, 320.94°)
OKLaboklab(61.56% 0.1342 -0.1162)
OKLCHoklch(61.56% 0.177 319.1)
XYZxyz(32.1800, 20.9541, 56.3712)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BC7 #71C75B
analogous
#7B5BC7 #B15BC7 #C75BA7
triadic
#B15BC7 #C7B15B #5BC7B1
tetradic
#B15BC7 #C77B5B #71C75B #5BA7C7
square
#B15BC7 #C77B5B #71C75B #5BA7C7
split-complementary
#B15BC7 #A7C75B #5BC77B
monochromatic
#6C2B7D #943AAB #B15BC7 #C789D7 #DCB6E6

Accessibility & contrast

On white

4.05
#B15BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B15BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BC7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BC7#FFFFFF#000000##000000
##B15BC71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4578CB
Deuteranopia (green-blind)
#6281C4
Tritanopia (blue-blind)
#B16B88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b15bc7;
/* rgb */ color: rgb(177, 91, 199);
/* oklch */ color: oklch(61.6% 0.177 319.1);
Tailwind
colors: {
  custom: {
    50: '#cb8dd8',
    500: '#b15bc7',
    950: '#000000',
  },
}
SCSS
$custom: #b15bc7;
$custom-light: #cb8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b15bc7",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 287.778,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.17749,
    "h": 319.1
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#B15BC7
secondary
#B2D5A9
accent
#D94F6B
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B15BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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