#B15DC7#B15DC7

#B15DC7 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.8% C 0.174 H 319.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B15DC7
RGBrgb(177, 93, 199)
HSLhsl(288, 49%, 57%)
HSVhsv(288, 53%, 78%)
CMYKcmyk(11.1%, 53.3%, 0%, 22%)
CIE-LABlab(53.28, 50.50, -41.21)
CIE-LCHlch(53.28, 65.18, 320.79°)
OKLaboklab(61.84% 0.1315 -0.1145)
OKLCHoklch(61.84% 0.174 319)
XYZxyz(32.3533, 21.3006, 56.4290)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15DC7 #73C75D
analogous
#7C5DC7 #B15DC7 #C75DA8
triadic
#B15DC7 #C7B15D #5DC7B1
tetradic
#B15DC7 #C77C5D #73C75D #5DA8C7
square
#B15DC7 #C77C5D #73C75D #5DA8C7
split-complementary
#B15DC7 #A8C75D #5DC77C
monochromatic
#6D2C7E #943BAC #B15DC7 #C78AD7 #DDB8E6

Accessibility & contrast

On white

3.99
#B15DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B15DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15DC7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15DC7#FFFFFF#000000##000000
##B15DC71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACA
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#B16D89
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b15dc7;
/* rgb */ color: rgb(177, 93, 199);
/* oklch */ color: oklch(61.8% 0.174 319.0);
Tailwind
colors: {
  custom: {
    50: '#cb8ed8',
    500: '#b15dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b15dc7;
$custom-light: #cb8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#b15dc7",
  "rgb": {
    "r": 177,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 287.547,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.17434,
    "h": 319
  },
  "luminance": 0.21299
}

Semantic roles & 50–950 ramp

primary
#B15DC7
secondary
#B3D5AA
accent
#D8506C
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B15DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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