#B450B2#B450B2

#B450B2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.176 H 328.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B450B2
RGBrgb(180, 80, 178)
HSLhsl(301, 40%, 51%)
HSVhsv(301, 56%, 71%)
CMYKcmyk(0%, 55.6%, 1.1%, 29.4%)
CIE-LABlab(50.28, 53.69, -33.75)
CIE-LCHlch(50.28, 63.42, 327.85°)
OKLaboklab(59.39% 0.1501 -0.0928)
OKLCHoklch(59.39% 0.176 328.3)
XYZxyz(29.7265, 18.6568, 44.1462)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B450B2 #50B452
analogous
#8450B4 #B450B2 #B45080
triadic
#B450B2 #B2B450 #50B2B4
tetradic
#B450B2 #B48450 #50B452 #5080B4
square
#B450B2 #B48450 #50B452 #5080B4
split-complementary
#B450B2 #80B450 #50B484
monochromatic
#60295F #8B3C8A #B450B2 #C67BC5 #D9A6D8

Accessibility & contrast

On white

4.44
#B450B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B450B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B450B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B450B2#FFFFFF#000000##000000
##B450B21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#B95B7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b450b2;
/* rgb */ color: rgb(180, 80, 178);
/* oklch */ color: oklch(59.4% 0.176 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd86c9',
    500: '#b450b2',
    950: '#000000',
  },
}
SCSS
$custom: #b450b2;
$custom-light: #cd86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b450b2",
  "rgb": {
    "r": 180,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 301.2,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.17647,
    "h": 328.3
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#B450B2
secondary
#9AC69B
accent
#D05A58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B450B2

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

Preview Lab → · Contrast checker → · Palette generator →

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