#B452C8#B452C8

#B452C8 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.194 H 320.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B452C8
RGBrgb(180, 82, 200)
HSLhsl(290, 52%, 55%)
HSVhsv(290, 59%, 78%)
CMYKcmyk(10%, 59%, 0%, 21.6%)
CIE-LABlab(51.73, 56.83, -44.19)
CIE-LCHlch(51.73, 71.99, 322.13°)
OKLaboklab(60.81% 0.1495 -0.123)
OKLCHoklch(60.81% 0.194 320.5)
XYZxyz(32.2638, 19.9095, 56.7758)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452C8 #66C852
analogous
#7952C8 #B452C8 #C852A1
triadic
#B452C8 #C8B452 #52C8B4
tetradic
#B452C8 #C87952 #66C852 #52A1C8
square
#B452C8 #C87952 #66C852 #52A1C8
split-complementary
#B452C8 #A1C852 #52C879
monochromatic
#6B2779 #9435A8 #B452C8 #C880D7 #DCAFE6

Accessibility & contrast

On white

4.22
#B452C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B452C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452C8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452C8#FFFFFF#000000##000000
##B452C81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#B56485
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b452c8;
/* rgb */ color: rgb(180, 82, 200);
/* oklch */ color: oklch(60.8% 0.194 320.5);
Tailwind
colors: {
  custom: {
    50: '#cd88d9',
    500: '#b452c8',
    950: '#000000',
  },
}
SCSS
$custom: #b452c8;
$custom-light: #cd88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b452c8",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 289.831,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.19357,
    "h": 320.5
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#B452C8
secondary
#ABD4A2
accent
#DB4D65
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B452C8

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

Preview Lab → · Contrast checker → · Palette generator →

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