#B451BD#B451BD

#B451BD is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.185 H 324.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B451BD
RGBrgb(180, 81, 189)
HSLhsl(295, 45%, 53%)
HSVhsv(295, 57%, 74%)
CMYKcmyk(4.8%, 57.1%, 0%, 25.9%)
CIE-LABlab(50.99, 55.22, -39.02)
CIE-LCHlch(50.99, 67.61, 324.75°)
OKLaboklab(60.08% 0.15 -0.108)
OKLCHoklch(60.08% 0.185 324.2)
XYZxyz(30.9493, 19.2639, 50.2224)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451BD #5ABD51
analogous
#7E51BD #B451BD #BD5190
triadic
#B451BD #BDB451 #51BDB4
tetradic
#B451BD #BD7E51 #5ABD51 #5190BD
square
#B451BD #BD7E51 #5ABD51 #5190BD
split-complementary
#B451BD #90BD51 #51BD7E
monochromatic
#65296B #903997 #B451BD #C77DCE #DAAADF

Accessibility & contrast

On white

4.33
#B451BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B451BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451BD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451BD#FFFFFF#000000##000000
##B451BD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#B7607F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b451bd;
/* rgb */ color: rgb(180, 81, 189);
/* oklch */ color: oklch(60.1% 0.185 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd87d1',
    500: '#b451bd',
    950: '#000000',
  },
}
SCSS
$custom: #b451bd;
$custom-light: #cd87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b451bd",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 295,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.18481,
    "h": 324.2
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#B451BD
secondary
#A1CC9E
accent
#D5535E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B451BD

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

Preview Lab → · Contrast checker → · Palette generator →

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