#B451AD#B451AD

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

Color values

HEX#B451AD
RGBrgb(180, 81, 173)
HSLhsl(304, 40%, 51%)
HSVhsv(304, 55%, 71%)
CMYKcmyk(0%, 55%, 3.9%, 29.4%)
CIE-LABlab(50.22, 52.34, -30.92)
CIE-LCHlch(50.22, 60.79, 329.43°)
OKLaboklab(59.27% 0.1481 -0.0846)
OKLCHoklch(59.27% 0.171 330.2)
XYZxyz(29.3074, 18.6072, 41.5750)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451AD #51B458
analogous
#8951B4 #B451AD #B4517B
triadic
#B451AD #ADB451 #51ADB4
tetradic
#B451AD #B48951 #51B458 #517BB4
square
#B451AD #B48951 #51B458 #517BB4
split-complementary
#B451AD #7BB451 #51B489
monochromatic
#612A5D #8C3C86 #B451AD #C67CC1 #D9A7D5

Accessibility & contrast

On white

4.45
#B451AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B451AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451AD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451AD#FFFFFF#000000##000000
##B451AD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB0
Deuteranopia (green-blind)
#6A7CAA
Tritanopia (blue-blind)
#BA5A77
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b451ad;
/* rgb */ color: rgb(180, 81, 173);
/* oklch */ color: oklch(59.3% 0.171 330.2);
Tailwind
colors: {
  custom: {
    50: '#cd87c5',
    500: '#b451ad',
    950: '#000000',
  },
}
SCSS
$custom: #b451ad;
$custom-light: #cd87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b451ad",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 304.242,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59269,
    "c": 0.17058,
    "h": 330.2
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#B451AD
secondary
#9BC69E
accent
#D06158
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B451AD

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

Preview Lab → · Contrast checker → · Palette generator →

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