#B451BA#B451BA

#B451BA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.182 H 325.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B451BA
RGBrgb(180, 81, 186)
HSLhsl(297, 43%, 52%)
HSVhsv(297, 56%, 73%)
CMYKcmyk(3.2%, 56.5%, 0%, 27.1%)
CIE-LABlab(50.84, 54.66, -37.52)
CIE-LCHlch(50.84, 66.30, 325.54°)
OKLaboklab(59.93% 0.1497 -0.1036)
OKLCHoklch(59.93% 0.182 325.3)
XYZxyz(30.6271, 19.1350, 48.5251)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451BA #57BA51
analogous
#7F51BA #B451BA #BA518C
triadic
#B451BA #BAB451 #51BAB4
tetradic
#B451BA #BA7F51 #57BA51 #518CBA
square
#B451BA #BA7F51 #57BA51 #518CBA
split-complementary
#B451BA #8CBA51 #51BA7F
monochromatic
#642968 #8E3A93 #B451BA #C77DCB #DAA9DD

Accessibility & contrast

On white

4.35
#B451BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B451BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451BA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451BA#FFFFFF#000000##000000
##B451BA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#647DB7
Tritanopia (blue-blind)
#B85F7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b451ba;
/* rgb */ color: rgb(180, 81, 186);
/* oklch */ color: oklch(59.9% 0.182 325.3);
Tailwind
colors: {
  custom: {
    50: '#cd87cf',
    500: '#b451ba',
    950: '#000000',
  },
}
SCSS
$custom: #b451ba;
$custom-light: #cd87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b451ba",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 296.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.18208,
    "h": 325.3
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#B451BA
secondary
#9FCA9D
accent
#D3555C
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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