#B152AA#B152AA

#B152AA is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.9% C 0.164 H 330.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B152AA
RGBrgb(177, 82, 170)
HSLhsl(304, 38%, 51%)
HSVhsv(304, 54%, 69%)
CMYKcmyk(0%, 53.7%, 4%, 30.6%)
CIE-LABlab(49.84, 50.49, -29.79)
CIE-LCHlch(49.84, 58.62, 329.46°)
OKLaboklab(58.85% 0.1429 -0.0815)
OKLCHoklch(58.85% 0.164 330.3)
XYZxyz(28.4042, 18.2858, 40.0558)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152AA #52B159
analogous
#8852B1 #B152AA #B1527A
triadic
#B152AA #AAB152 #52AAB1
tetradic
#B152AA #B18852 #52B159 #527AB1
square
#B152AA #B18852 #52B159 #527AB1
split-complementary
#B152AA #7AB152 #52B188
monochromatic
#5E2A5A #883D83 #B152AA #C47CBF #D7A6D3

Accessibility & contrast

On white

4.51
#B152AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B152AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152AA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152AA#FFFFFF#000000##000000
##B152AA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#B75A76
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b152aa;
/* rgb */ color: rgb(177, 82, 170);
/* oklch */ color: oklch(58.9% 0.164 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb87c3',
    500: '#b152aa',
    950: '#000000',
  },
}
SCSS
$custom: #b152aa;
$custom-light: #cb87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b152aa",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 304.421,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.16446,
    "h": 330.3
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#B152AA
secondary
#9AC49D
accent
#CE635A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B152AA

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

Preview Lab → · Contrast checker → · Palette generator →

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