#B451B5#B451B5

#B451B5 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.178 H 327.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B451B5
RGBrgb(180, 81, 181)
HSLhsl(299, 40%, 51%)
HSVhsv(299, 55%, 71%)
CMYKcmyk(0.6%, 55.2%, 0%, 29%)
CIE-LABlab(50.60, 53.76, -35.00)
CIE-LCHlch(50.60, 64.14, 326.94°)
OKLaboklab(59.67% 0.1492 -0.0964)
OKLCHoklch(59.67% 0.178 327.1)
XYZxyz(30.1048, 18.9261, 45.7745)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B451B5 #52B551
analogous
#8251B5 #B451B5 #B55184
triadic
#B451B5 #B5B451 #51B5B4
tetradic
#B451B5 #B58251 #52B551 #5184B5
square
#B451B5 #B58251 #52B551 #5184B5
split-complementary
#B451B5 #84B551 #51B582
monochromatic
#612A62 #8C3C8D #B451B5 #C77CC7 #D9A7DA

Accessibility & contrast

On white

4.39
#B451B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B451B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B451B5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B451B5#FFFFFF#000000##000000
##B451B51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#B95D7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b451b5;
/* rgb */ color: rgb(180, 81, 181);
/* oklch */ color: oklch(59.7% 0.178 327.1);
Tailwind
colors: {
  custom: {
    50: '#cd87cb',
    500: '#b451b5',
    950: '#000000',
  },
}
SCSS
$custom: #b451b5;
$custom-light: #cd87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b451b5",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 299.4,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.17758,
    "h": 327.1
  },
  "luminance": 0.18924
}

Semantic roles & 50–950 ramp

primary
#B451B5
secondary
#9BC79B
accent
#D05859
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B451B5

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

Preview Lab → · Contrast checker → · Palette generator →

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