#B154A7#B154A7

#B154A7 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.0% C 0.159 H 331.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B154A7
RGBrgb(177, 84, 167)
HSLhsl(306, 37%, 51%)
HSVhsv(306, 53%, 69%)
CMYKcmyk(0%, 52.5%, 5.6%, 30.6%)
CIE-LABlab(50.07, 48.99, -27.67)
CIE-LCHlch(50.07, 56.26, 330.54°)
OKLaboklab(58.98% 0.1395 -0.0754)
OKLCHoklch(58.98% 0.159 331.6)
XYZxyz(28.2767, 18.4796, 38.6293)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154A7 #54B15E
analogous
#8C54B1 #B154A7 #B15478
triadic
#B154A7 #A7B154 #54A7B1
tetradic
#B154A7 #B18C54 #54B15E #5478B1
square
#B154A7 #B18C54 #54B15E #5478B1
split-complementary
#B154A7 #78B154 #54B18C
monochromatic
#5F2B5A #893F81 #B154A7 #C47EBD #D7A8D2

Accessibility & contrast

On white

4.47
#B154A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B154A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154A7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154A7#FFFFFF#000000##000000
##B154A71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#B75B76
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b154a7;
/* rgb */ color: rgb(177, 84, 167);
/* oklch */ color: oklch(59.0% 0.159 331.6);
Tailwind
colors: {
  custom: {
    50: '#ca88c1',
    500: '#b154a7',
    950: '#000000',
  },
}
SCSS
$custom: #b154a7;
$custom-light: #ca88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b154a7",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 306.452,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.15863,
    "h": 331.6
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#B154A7
secondary
#9CC5A0
accent
#CD675A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B154A7

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

Preview Lab → · Contrast checker → · Palette generator →

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