#B451AC#B451AC

#B451AC is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.2% C 0.170 H 330.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B451AC
RGBrgb(180, 81, 172)
HSLhsl(305, 40%, 51%)
HSVhsv(305, 55%, 71%)
CMYKcmyk(0%, 55%, 4.4%, 29.4%)
CIE-LABlab(50.18, 52.17, -30.40)
CIE-LCHlch(50.18, 60.38, 329.77°)
OKLaboklab(59.22% 0.1479 -0.0832)
OKLCHoklch(59.22% 0.17 330.7)
XYZxyz(29.2110, 18.5686, 41.0673)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451AC #51B459
analogous
#8A51B4 #B451AC #B4517A
triadic
#B451AC #ACB451 #51ACB4
tetradic
#B451AC #B48A51 #51B459 #517AB4
square
#B451AC #B48A51 #51B459 #517AB4
split-complementary
#B451AC #7AB451 #51B48A
monochromatic
#612A5C #8C3C85 #B451AC #C67CC0 #D9A7D5

Accessibility & contrast

On white

4.46
#B451AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B451AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451AC#FFFFFF#000000##000000
##B451AC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b451ac;
/* rgb */ color: rgb(180, 81, 172);
/* oklch */ color: oklch(59.2% 0.170 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd87c5',
    500: '#b451ac',
    950: '#000000',
  },
}
SCSS
$custom: #b451ac;
$custom-light: #cd87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b451ac",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 304.848,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5922,
    "c": 0.16972,
    "h": 330.7
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B451AC

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

Preview Lab → · Contrast checker → · Palette generator →

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