#B452BC#B452BC

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

Color values

HEX#B452BC
RGBrgb(180, 82, 188)
HSLhsl(295, 44%, 53%)
HSVhsv(295, 56%, 74%)
CMYKcmyk(4.3%, 56.4%, 0%, 26.3%)
CIE-LABlab(51.12, 54.56, -38.25)
CIE-LCHlch(51.12, 66.63, 324.97°)
OKLaboklab(60.16% 0.1486 -0.1058)
OKLCHoklch(60.16% 0.182 324.6)
XYZxyz(30.9160, 19.3704, 49.6776)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452BC #5ABC52
analogous
#7F52BC #B452BC #BC528F
triadic
#B452BC #BCB452 #52BCB4
tetradic
#B452BC #BC7F52 #5ABC52 #528FBC
square
#B452BC #BC7F52 #5ABC52 #528FBC
split-complementary
#B452BC #8FBC52 #52BC7F
monochromatic
#65296A #903A97 #B452BC #C77ECD #DAAADE

Accessibility & contrast

On white

4.31
#B452BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B452BC#FFFFFF#000000##000000
##B452BC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#B8607F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b452bc;
/* rgb */ color: rgb(180, 82, 188);
/* oklch */ color: oklch(60.2% 0.182 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd88d0',
    500: '#b452bc',
    950: '#000000',
  },
}
SCSS
$custom: #b452bc;
$custom-light: #cd88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b452bc",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 295.472,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.18238,
    "h": 324.6
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#B452BC
secondary
#A1CC9E
accent
#D4545E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B452BC

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

Preview Lab → · Contrast checker → · Palette generator →

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