#B452BF#B452BF

#B452BF is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.185 H 323.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B452BF
RGBrgb(180, 82, 191)
HSLhsl(294, 46%, 54%)
HSVhsv(294, 57%, 75%)
CMYKcmyk(5.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(51.27, 55.12, -39.75)
CIE-LCHlch(51.27, 67.96, 324.21°)
OKLaboklab(60.32% 0.1489 -0.1101)
OKLCHoklch(60.32% 0.185 323.5)
XYZxyz(31.2428, 19.5011, 51.3985)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452BF #5DBF52
analogous
#7D52BF #B452BF #BF5293
triadic
#B452BF #BFB452 #52BFB4
tetradic
#B452BF #BF7D52 #5DBF52 #5293BF
square
#B452BF #BF7D52 #5DBF52 #5293BF
split-complementary
#B452BF #93BF52 #52BF7D
monochromatic
#67296E #91399B #B452BF #C77FD0 #DBABE0

Accessibility & contrast

On white

4.29
#B452BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B452BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452BF#FFFFFF#000000##000000
##B452BF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#B76181
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b452bf;
/* rgb */ color: rgb(180, 82, 191);
/* oklch */ color: oklch(60.3% 0.185 323.5);
Tailwind
colors: {
  custom: {
    50: '#cd88d3',
    500: '#b452bf',
    950: '#000000',
  },
}
SCSS
$custom: #b452bf;
$custom-light: #cd88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b452bf",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 293.945,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60317,
    "c": 0.18515,
    "h": 323.5
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#B452BF
secondary
#A4CE9F
accent
#D6525F
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B452BF

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

Preview Lab → · Contrast checker → · Palette generator →

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