#B15DA7#B15DA7

#B15DA7 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.3% C 0.144 H 331.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B15DA7
RGBrgb(177, 93, 167)
HSLhsl(307, 35%, 53%)
HSVhsv(307, 47%, 69%)
CMYKcmyk(0%, 47.5%, 5.6%, 30.6%)
CIE-LABlab(51.80, 44.44, -24.99)
CIE-LCHlch(51.80, 50.99, 330.65°)
OKLaboklab(60.26% 0.1265 -0.0679)
OKLCHoklch(60.26% 0.144 331.8)
XYZxyz(29.0207, 19.9675, 38.8773)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15DA7 #5DB167
analogous
#915DB1 #B15DA7 #B15D7D
triadic
#B15DA7 #A7B15D #5DA7B1
tetradic
#B15DA7 #B1915D #5DB167 #5D7DB1
square
#B15DA7 #B1915D #5DB167 #5D7DB1
split-complementary
#B15DA7 #7DB15D #5DB191
monochromatic
#64305D #8D4484 #B15DA7 #C586BD #D9B0D4

Accessibility & contrast

On white

4.21
#B15DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B15DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15DA7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15DA7#FFFFFF#000000##000000
##B15DA71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AA
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#B7637A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b15da7;
/* rgb */ color: rgb(177, 93, 167);
/* oklch */ color: oklch(60.3% 0.144 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca8ec1',
    500: '#b15da7',
    950: '#000000',
  },
}
SCSS
$custom: #b15da7;
$custom-light: #ca8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b15da7",
  "rgb": {
    "r": 177,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 307.143,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60263,
    "c": 0.14359,
    "h": 331.8
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#B15DA7
secondary
#A3C7A7
accent
#CB6A5D
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B15DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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