#B451AE#B451AE

#B451AE is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.171 H 329.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B451AE
RGBrgb(180, 81, 174)
HSLhsl(304, 40%, 51%)
HSVhsv(304, 55%, 71%)
CMYKcmyk(0%, 55%, 3.3%, 29.4%)
CIE-LABlab(50.27, 52.52, -31.43)
CIE-LCHlch(50.27, 61.20, 329.10°)
OKLaboklab(59.32% 0.1482 -0.0861)
OKLCHoklch(59.32% 0.171 329.8)
XYZxyz(29.4045, 18.6460, 42.0865)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451AE #51B457
analogous
#8851B4 #B451AE #B4517C
triadic
#B451AE #AEB451 #51AEB4
tetradic
#B451AE #B48851 #51B457 #517CB4
square
#B451AE #B48851 #51B457 #517CB4
split-complementary
#B451AE #7CB451 #51B488
monochromatic
#612A5E #8C3C87 #B451AE #C67CC2 #D9A7D6

Accessibility & contrast

On white

4.44
#B451AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B451AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451AE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451AE#FFFFFF#000000##000000
##B451AE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#BA5A78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b451ae;
/* rgb */ color: rgb(180, 81, 174);
/* oklch */ color: oklch(59.3% 0.171 329.8);
Tailwind
colors: {
  custom: {
    50: '#cd87c6',
    500: '#b451ae',
    950: '#000000',
  },
}
SCSS
$custom: #b451ae;
$custom-light: #cd87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b451ae",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 303.636,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.17144,
    "h": 329.8
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#B451AE
secondary
#9BC69D
accent
#D05F58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B451AE

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

Preview Lab → · Contrast checker → · Palette generator →

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