#B452BB#B452BB

#B452BB is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.181 H 324.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B452BB
RGBrgb(180, 82, 187)
HSLhsl(296, 44%, 53%)
HSVhsv(296, 56%, 73%)
CMYKcmyk(3.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(51.07, 54.38, -37.75)
CIE-LCHlch(51.07, 66.19, 325.23°)
OKLaboklab(60.11% 0.1485 -0.1043)
OKLCHoklch(60.11% 0.181 324.9)
XYZxyz(30.8086, 19.3274, 49.1119)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452BB #59BB52
analogous
#7F52BB #B452BB #BB528D
triadic
#B452BB #BBB452 #52BBB4
tetradic
#B452BB #BB7F52 #59BB52 #528DBB
square
#B452BB #BB7F52 #59BB52 #528DBB
split-complementary
#B452BB #8DBB52 #52BB7F
monochromatic
#652969 #8F3B95 #B452BB #C77ECC #DAAADE

Accessibility & contrast

On white

4.32
#B452BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B452BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452BB#FFFFFF#000000##000000
##B452BB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#B8607F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b452bb;
/* rgb */ color: rgb(180, 82, 187);
/* oklch */ color: oklch(60.1% 0.181 324.9);
Tailwind
colors: {
  custom: {
    50: '#cd88d0',
    500: '#b452bb',
    950: '#000000',
  },
}
SCSS
$custom: #b452bb;
$custom-light: #cd88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b452bb",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 296,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.18147,
    "h": 324.9
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#B452BB
secondary
#A1CB9E
accent
#D3545D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B452BB

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

Preview Lab → · Contrast checker → · Palette generator →

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