#B15AAA#B15AAA

#B15AAA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.0% C 0.151 H 330.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B15AAA
RGBrgb(177, 90, 170)
HSLhsl(305, 36%, 52%)
HSVhsv(305, 49%, 69%)
CMYKcmyk(0%, 49.2%, 4%, 30.6%)
CIE-LABlab(51.34, 46.51, -27.46)
CIE-LCHlch(51.34, 54.01, 329.45°)
OKLaboklab(59.96% 0.1315 -0.0749)
OKLCHoklch(59.96% 0.151 330.3)
XYZxyz(29.0430, 19.5634, 40.2688)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15AAA #5AB161
analogous
#8D5AB1 #B15AAA #B15A7E
triadic
#B15AAA #AAB15A #5AAAB1
tetradic
#B15AAA #B18D5A #5AB161 #5A7EB1
square
#B15AAA #B18D5A #5AB161 #5A7EB1
split-complementary
#B15AAA #7EB15A #5AB18D
monochromatic
#622E5E #8C4286 #B15AAA #C584BF #D8ADD5

Accessibility & contrast

On white

4.27
#B15AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B15AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15AAA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15AAA#FFFFFF#000000##000000
##B15AAA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#B7617A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b15aaa;
/* rgb */ color: rgb(177, 90, 170);
/* oklch */ color: oklch(60.0% 0.151 330.3);
Tailwind
colors: {
  custom: {
    50: '#ca8cc3',
    500: '#b15aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b15aaa;
$custom-light: #ca8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b15aaa",
  "rgb": {
    "r": 177,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 304.828,
    "s": 35.802,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.15134,
    "h": 330.3
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

primary
#B15AAA
secondary
#A0C6A4
accent
#CC655C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #B15AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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