#B451A7#B451A7

#B451A7 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.0% C 0.166 H 332.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B451A7
RGBrgb(180, 81, 167)
HSLhsl(308, 40%, 51%)
HSVhsv(308, 55%, 71%)
CMYKcmyk(0%, 55%, 7.2%, 29.4%)
CIE-LABlab(49.95, 51.31, -27.82)
CIE-LCHlch(49.95, 58.37, 331.54°)
OKLaboklab(58.98% 0.1471 -0.0758)
OKLCHoklch(58.98% 0.166 332.7)
XYZxyz(28.7398, 18.3801, 38.5857)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451A7 #51B45E
analogous
#8F51B4 #B451A7 #B45175
triadic
#B451A7 #A7B451 #51A7B4
tetradic
#B451A7 #B48F51 #51B45E #5175B4
square
#B451A7 #B48F51 #51B45E #5175B4
split-complementary
#B451A7 #75B451 #51B48F
monochromatic
#612A5A #8C3C81 #B451A7 #C67CBD #D9A7D2

Accessibility & contrast

On white

4.49
#B451A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B451A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451A7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451A7#FFFFFF#000000##000000
##B451A71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#BB5875
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b451a7;
/* rgb */ color: rgb(180, 81, 167);
/* oklch */ color: oklch(59.0% 0.166 332.7);
Tailwind
colors: {
  custom: {
    50: '#cd87c1',
    500: '#b451a7',
    950: '#000000',
  },
}
SCSS
$custom: #b451a7;
$custom-light: #cd87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b451a7",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 307.879,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.16551,
    "h": 332.7
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#B451A7
secondary
#9BC6A0
accent
#D06858
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B451A7

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

Preview Lab → · Contrast checker → · Palette generator →

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