#B451AA#B451AA

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

Color values

HEX#B451AA
RGBrgb(180, 81, 170)
HSLhsl(306, 40%, 51%)
HSVhsv(306, 55%, 71%)
CMYKcmyk(0%, 55%, 5.6%, 29.4%)
CIE-LABlab(50.09, 51.82, -29.37)
CIE-LCHlch(50.09, 59.57, 330.46°)
OKLaboklab(59.12% 0.1476 -0.0802)
OKLCHoklch(59.12% 0.168 331.5)
XYZxyz(29.0204, 18.4924, 40.0633)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451AA #51B45B
analogous
#8C51B4 #B451AA #B45178
triadic
#B451AA #AAB451 #51AAB4
tetradic
#B451AA #B48C51 #51B45B #5178B4
square
#B451AA #B48C51 #51B45B #5178B4
split-complementary
#B451AA #78B451 #51B48C
monochromatic
#612A5B #8C3C84 #B451AA #C67CBF #D9A7D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B451AA#FFFFFF#000000##000000
##B451AA1.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)
#4D6EAD
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#BB5976
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b451aa;
/* rgb */ color: rgb(180, 81, 170);
/* oklch */ color: oklch(59.1% 0.168 331.5);
Tailwind
colors: {
  custom: {
    50: '#cd87c3',
    500: '#b451aa',
    950: '#000000',
  },
}
SCSS
$custom: #b451aa;
$custom-light: #cd87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b451aa",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 306.061,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.16802,
    "h": 331.5
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#B451AA
secondary
#9BC69F
accent
#D06458
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B451AA

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

Preview Lab → · Contrast checker → · Palette generator →

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