#B452BD#B452BD

#B452BD is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.183 H 324.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B452BD
RGBrgb(180, 82, 189)
HSLhsl(295, 45%, 53%)
HSVhsv(295, 57%, 74%)
CMYKcmyk(4.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(51.17, 54.75, -38.75)
CIE-LCHlch(51.17, 67.07, 324.71°)
OKLaboklab(60.21% 0.1487 -0.1072)
OKLCHoklch(60.21% 0.183 324.2)
XYZxyz(31.0242, 19.4137, 50.2473)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452BD #5BBD52
analogous
#7E52BD #B452BD #BD5290
triadic
#B452BD #BDB452 #52BDB4
tetradic
#B452BD #BD7E52 #5BBD52 #5290BD
square
#B452BD #BD7E52 #5BBD52 #5290BD
split-complementary
#B452BD #90BD52 #52BD7E
monochromatic
#66296C #903A98 #B452BD #C77ECE #DAABDF

Accessibility & contrast

On white

4.30
#B452BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B452BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452BD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452BD#FFFFFF#000000##000000
##B452BD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#B76080
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b452bd;
/* rgb */ color: rgb(180, 82, 189);
/* oklch */ color: oklch(60.2% 0.183 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd88d1',
    500: '#b452bd',
    950: '#000000',
  },
}
SCSS
$custom: #b452bd;
$custom-light: #cd88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b452bd",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 294.953,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60211,
    "c": 0.18331,
    "h": 324.2
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#B452BD
secondary
#A2CC9E
accent
#D4535E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B452BD

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

Preview Lab → · Contrast checker → · Palette generator →

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