#B15EA5#B15EA5

#B15EA5 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.3% C 0.140 H 332.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B15EA5
RGBrgb(177, 94, 165)
HSLhsl(309, 35%, 53%)
HSVhsv(309, 47%, 69%)
CMYKcmyk(0%, 46.9%, 6.8%, 30.6%)
CIE-LABlab(51.92, 43.57, -23.64)
CIE-LCHlch(51.92, 49.57, 331.52°)
OKLaboklab(60.32% 0.1246 -0.0641)
OKLCHoklch(60.32% 0.14 332.8)
XYZxyz(28.9256, 20.0709, 37.9405)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15EA5 #5EB16A
analogous
#935EB1 #B15EA5 #B15E7B
triadic
#B15EA5 #A5B15E #5EA5B1
tetradic
#B15EA5 #B1935E #5EB16A #5E7BB1
square
#B15EA5 #B1935E #5EB16A #5E7BB1
split-complementary
#B15EA5 #7BB15E #5EB193
monochromatic
#64305D #8D4483 #B15EA5 #C587BC #D9B0D3

Accessibility & contrast

On white

4.19
#B15EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B15EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15EA5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15EA5#FFFFFF#000000##000000
##B15EA51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#B7637A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b15ea5;
/* rgb */ color: rgb(177, 94, 165);
/* oklch */ color: oklch(60.3% 0.140 332.8);
Tailwind
colors: {
  custom: {
    50: '#ca8ec0',
    500: '#b15ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b15ea5;
$custom-light: #ca8ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ea5",
  "rgb": {
    "r": 177,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 308.675,
    "s": 34.728,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.1401,
    "h": 332.8
  },
  "luminance": 0.20069
}

Semantic roles & 50–950 ramp

primary
#B15EA5
secondary
#A4C7A9
accent
#CB6D5D
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B15EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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