#B451BB#B451BB

#B451BB is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.183 H 324.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B451BB
RGBrgb(180, 81, 187)
HSLhsl(296, 44%, 53%)
HSVhsv(296, 57%, 73%)
CMYKcmyk(3.7%, 56.7%, 0%, 26.7%)
CIE-LABlab(50.89, 54.85, -38.02)
CIE-LCHlch(50.89, 66.74, 325.27°)
OKLaboklab(59.98% 0.1498 -0.1051)
OKLCHoklch(59.98% 0.183 324.9)
XYZxyz(30.7337, 19.1777, 49.0869)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451BB #58BB51
analogous
#7F51BB #B451BB #BB518D
triadic
#B451BB #BBB451 #51BBB4
tetradic
#B451BB #BB7F51 #58BB51 #518DBB
square
#B451BB #BB7F51 #58BB51 #518DBB
split-complementary
#B451BB #8DBB51 #51BB7F
monochromatic
#642969 #8F3A95 #B451BB #C77DCC #DAA9DD

Accessibility & contrast

On white

4.34
#B451BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B451BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451BB#FFFFFF#000000##000000
##B451BB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#B85F7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b451bb;
/* rgb */ color: rgb(180, 81, 187);
/* oklch */ color: oklch(60.0% 0.183 324.9);
Tailwind
colors: {
  custom: {
    50: '#cd87d0',
    500: '#b451bb',
    950: '#000000',
  },
}
SCSS
$custom: #b451bb;
$custom-light: #cd87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b451bb",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 296.038,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.18299,
    "h": 324.9
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#B451BB
secondary
#A0CB9D
accent
#D4545D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B451BB

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

Preview Lab → · Contrast checker → · Palette generator →

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