#B15BCA#B15BCA

#B15BCA is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.181 H 318.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B15BCA
RGBrgb(177, 91, 202)
HSLhsl(286, 51%, 57%)
HSVhsv(286, 55%, 79%)
CMYKcmyk(12.4%, 55%, 0%, 20.8%)
CIE-LABlab(53.05, 52.11, -43.28)
CIE-LCHlch(53.05, 67.74, 320.29°)
OKLaboklab(61.72% 0.1344 -0.1205)
OKLCHoklch(61.72% 0.181 318.1)
XYZxyz(32.5318, 21.0948, 58.2237)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BCA #74CA5B
analogous
#795BCA #B15BCA #CA5BAC
triadic
#B15BCA #CAB15B #5BCAB1
tetradic
#B15BCA #CA795B #74CA5B #5BACCA
square
#B15BCA #CA795B #74CA5B #5BACCA
split-complementary
#B15BCA #ACCA5B #5BCA79
monochromatic
#6D2A81 #9439AF #B15BCA #C789D9 #DDB8E8

Accessibility & contrast

On white

4.02
#B15BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B15BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BCA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BCA#FFFFFF#000000##000000
##B15BCA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6082C7
Tritanopia (blue-blind)
#B16C8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b15bca;
/* rgb */ color: rgb(177, 91, 202);
/* oklch */ color: oklch(61.7% 0.181 318.1);
Tailwind
colors: {
  custom: {
    50: '#cb8dda',
    500: '#b15bca',
    950: '#000000',
  },
}
SCSS
$custom: #b15bca;
$custom-light: #cb8dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b15bca",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 286.486,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.18051,
    "h": 318.1
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#B15BCA
secondary
#B4D7AA
accent
#DB4D6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B15BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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