#B451B9#B451B9

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

Color values

HEX#B451B9
RGBrgb(180, 81, 185)
HSLhsl(297, 43%, 52%)
HSVhsv(297, 56%, 73%)
CMYKcmyk(2.7%, 56.2%, 0%, 27.5%)
CIE-LABlab(50.80, 54.48, -37.02)
CIE-LCHlch(50.80, 65.87, 325.81°)
OKLaboklab(59.87% 0.1496 -0.1022)
OKLCHoklch(59.87% 0.181 325.7)
XYZxyz(30.5211, 19.0927, 47.9672)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451B9 #56B951
analogous
#8051B9 #B451B9 #B9518A
triadic
#B451B9 #B9B451 #51B9B4
tetradic
#B451B9 #B98051 #56B951 #518AB9
square
#B451B9 #B98051 #56B951 #518AB9
split-complementary
#B451B9 #8AB951 #51B980
monochromatic
#632966 #8E3B92 #B451B9 #C77DCB #DAA8DC

Accessibility & contrast

On white

4.36
#B451B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B451B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451B9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451B9#FFFFFF#000000##000000
##B451B91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BC
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#B85E7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b451b9;
/* rgb */ color: rgb(180, 81, 185);
/* oklch */ color: oklch(59.9% 0.181 325.7);
Tailwind
colors: {
  custom: {
    50: '#cd87ce',
    500: '#b451b9',
    950: '#000000',
  },
}
SCSS
$custom: #b451b9;
$custom-light: #cd87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b451b9",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 297.115,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59874,
    "c": 0.18117,
    "h": 325.7
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#B451B9
secondary
#9ECA9C
accent
#D2555B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B451B9

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

Preview Lab → · Contrast checker → · Palette generator →

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