#B451AF#B451AF

#B451AF is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.172 H 329.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B451AF
RGBrgb(180, 81, 175)
HSLhsl(303, 40%, 51%)
HSVhsv(303, 55%, 71%)
CMYKcmyk(0%, 55%, 2.8%, 29.4%)
CIE-LABlab(50.32, 52.69, -31.94)
CIE-LCHlch(50.32, 61.62, 328.78°)
OKLaboklab(59.37% 0.1484 -0.0876)
OKLCHoklch(59.37% 0.172 329.4)
XYZxyz(29.5024, 18.6852, 42.6018)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451AF #51B456
analogous
#8751B4 #B451AF #B4517D
triadic
#B451AF #AFB451 #51AFB4
tetradic
#B451AF #B48751 #51B456 #517DB4
square
#B451AF #B48751 #51B456 #517DB4
split-complementary
#B451AF #7DB451 #51B487
monochromatic
#612A5E #8C3C88 #B451AF #C67CC3 #D9A7D6

Accessibility & contrast

On white

4.43
#B451AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B451AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451AF#FFFFFF#000000##000000
##B451AF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#697DAC
Tritanopia (blue-blind)
#BA5B78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b451af;
/* rgb */ color: rgb(180, 81, 175);
/* oklch */ color: oklch(59.4% 0.172 329.4);
Tailwind
colors: {
  custom: {
    50: '#cd87c7',
    500: '#b451af',
    950: '#000000',
  },
}
SCSS
$custom: #b451af;
$custom-light: #cd87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b451af",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 303.03,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.1723,
    "h": 329.4
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#B451AF
secondary
#9BC69D
accent
#D05E58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B451AF

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

Preview Lab → · Contrast checker → · Palette generator →

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