#B452CC#B452CC

#B452CC is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.197 H 319.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B452CC
RGBrgb(180, 82, 204)
HSLhsl(288, 54%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(11.8%, 59.8%, 0%, 20%)
CIE-LABlab(51.95, 57.60, -46.15)
CIE-LCHlch(51.95, 73.81, 321.30°)
OKLaboklab(61.03% 0.1496 -0.1287)
OKLCHoklch(61.03% 0.197 319.3)
XYZxyz(32.7374, 20.0989, 59.2701)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452CC #6ACC52
analogous
#7752CC #B452CC #CC52A7
triadic
#B452CC #CCB452 #52CCB4
tetradic
#B452CC #CC7752 #6ACC52 #52A7CC
square
#B452CC #CC7752 #6ACC52 #52A7CC
split-complementary
#B452CC #A7CC52 #52CC77
monochromatic
#6D257E #9633AE #B452CC #C881DA #DDB1E8

Accessibility & contrast

On white

4.18
#B452CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B452CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452CC#FFFFFF#000000##000000
##B452CC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#B46687
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b452cc;
/* rgb */ color: rgb(180, 82, 204);
/* oklch */ color: oklch(61.0% 0.197 319.3);
Tailwind
colors: {
  custom: {
    50: '#cd88dc',
    500: '#b452cc',
    950: '#000000',
  },
}
SCSS
$custom: #b452cc;
$custom-light: #cd88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b452cc",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 288.197,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.19737,
    "h": 319.3
  },
  "luminance": 0.20098
}

Semantic roles & 50–950 ramp

primary
#B452CC
secondary
#AED6A4
accent
#DE4A67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B452CC

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

Preview Lab → · Contrast checker → · Palette generator →

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