#B451BC#B451BC

#B451BC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.184 H 324.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B451BC
RGBrgb(180, 81, 188)
HSLhsl(296, 44%, 53%)
HSVhsv(296, 57%, 74%)
CMYKcmyk(4.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(50.94, 55.03, -38.52)
CIE-LCHlch(50.94, 67.17, 325.01°)
OKLaboklab(60.03% 0.1499 -0.1065)
OKLCHoklch(60.03% 0.184 324.6)
XYZxyz(30.8412, 19.2207, 49.6527)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451BC #59BC51
analogous
#7E51BC #B451BC #BC518E
triadic
#B451BC #BCB451 #51BCB4
tetradic
#B451BC #BC7E51 #59BC51 #518EBC
square
#B451BC #BC7E51 #59BC51 #518EBC
split-complementary
#B451BC #8EBC51 #51BC7E
monochromatic
#65296A #8F3A96 #B451BC #C77DCD #DAA9DE

Accessibility & contrast

On white

4.34
#B451BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B451BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451BC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451BC#FFFFFF#000000##000000
##B451BC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#B85F7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b451bc;
/* rgb */ color: rgb(180, 81, 188);
/* oklch */ color: oklch(60.0% 0.184 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd87d0',
    500: '#b451bc',
    950: '#000000',
  },
}
SCSS
$custom: #b451bc;
$custom-light: #cd87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b451bc",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 295.514,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.1839,
    "h": 324.6
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#B451BC
secondary
#A1CC9D
accent
#D4545D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B451BC

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

Preview Lab → · Contrast checker → · Palette generator →

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