#B454B2#B454B2

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

Color values

HEX#B454B2
RGBrgb(180, 84, 178)
HSLhsl(301, 39%, 52%)
HSVhsv(301, 53%, 71%)
CMYKcmyk(0%, 53.3%, 1.1%, 29.4%)
CIE-LABlab(50.99, 51.79, -32.64)
CIE-LCHlch(50.99, 61.22, 327.78°)
OKLaboklab(59.91% 0.1447 -0.0896)
OKLCHoklch(59.91% 0.17 328.2)
XYZxyz(30.0282, 19.2601, 44.2468)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B454B2 #54B456
analogous
#8654B4 #B454B2 #B45482
triadic
#B454B2 #B2B454 #54B2B4
tetradic
#B454B2 #B48654 #54B456 #5482B4
square
#B454B2 #B48654 #54B456 #5482B4
split-complementary
#B454B2 #82B454 #54B486
monochromatic
#622B61 #8D3E8B #B454B2 #C77FC5 #D9A9D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B454B2#FFFFFF#000000##000000
##B454B21.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)
#4C71B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#B95E7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b454b2;
/* rgb */ color: rgb(180, 84, 178);
/* oklch */ color: oklch(59.9% 0.170 328.2);
Tailwind
colors: {
  custom: {
    50: '#cd89c9',
    500: '#b454b2',
    950: '#000000',
  },
}
SCSS
$custom: #b454b2;
$custom-light: #cd89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b454b2",
  "rgb": {
    "r": 180,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 301.25,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.17024,
    "h": 328.2
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#B454B2
secondary
#9DC79E
accent
#CF5B59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B454B2

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

Preview Lab → · Contrast checker → · Palette generator →

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