#B452AA#B452AA

#B452AA is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.166 H 331.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B452AA
RGBrgb(180, 82, 170)
HSLhsl(306, 40%, 51%)
HSVhsv(306, 54%, 71%)
CMYKcmyk(0%, 54.4%, 5.6%, 29.4%)
CIE-LABlab(50.27, 51.35, -29.09)
CIE-LCHlch(50.27, 59.02, 330.46°)
OKLaboklab(59.26% 0.1463 -0.0795)
OKLCHoklch(59.26% 0.166 331.5)
XYZxyz(29.0952, 18.6421, 40.0882)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452AA #52B45C
analogous
#8D52B4 #B452AA #B45279
triadic
#B452AA #AAB452 #52AAB4
tetradic
#B452AA #B48D52 #52B45C #5279B4
square
#B452AA #B48D52 #52B45C #5279B4
split-complementary
#B452AA #79B452 #52B48D
monochromatic
#612A5C #8C3D84 #B452AA #C77DBF #D9A7D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B452AA#FFFFFF#000000##000000
##B452AA1.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)
#4E6FAD
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#BB5A76
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b452aa;
/* rgb */ color: rgb(180, 82, 170);
/* oklch */ color: oklch(59.3% 0.166 331.5);
Tailwind
colors: {
  custom: {
    50: '#cd87c3',
    500: '#b452aa',
    950: '#000000',
  },
}
SCSS
$custom: #b452aa;
$custom-light: #cd87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b452aa",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 306.122,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.16644,
    "h": 331.5
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#B452AA
secondary
#9BC7A0
accent
#CF6558
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B452AA

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

Preview Lab → · Contrast checker → · Palette generator →

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