#B452DC#B452DC

#B452DC is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.213 H 314.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B452DC
RGBrgb(180, 82, 220)
HSLhsl(283, 66%, 59%)
HSVhsv(283, 63%, 86%)
CMYKcmyk(18.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(52.85, 60.79, -53.83)
CIE-LCHlch(52.85, 81.20, 318.48°)
OKLaboklab(61.98% 0.1498 -0.1511)
OKLCHoklch(61.98% 0.213 314.7)
XYZxyz(34.7559, 20.9063, 69.9008)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452DC #7ADC52
analogous
#6F52DC #B452DC #DC52BF
triadic
#B452DC #DCB452 #52DCB4
tetradic
#B452DC #DC6F52 #7ADC52 #52BFDC
square
#B452DC #DC6F52 #7ADC52 #52BFDC
split-complementary
#B452DC #BFDC52 #52DC6F
monochromatic
#731E95 #9A29C8 #B452DC #CA85E6 #E0B8F1

Accessibility & contrast

On white

4.05
#B452DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B452DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452DC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452DC#FFFFFF#000000##000000
##B452DC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E0
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#B16B90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b452dc;
/* rgb */ color: rgb(180, 82, 220);
/* oklch */ color: oklch(62.0% 0.213 314.7);
Tailwind
colors: {
  custom: {
    50: '#ce88e7',
    500: '#b452dc',
    950: '#000000',
  },
}
SCSS
$custom: #b452dc;
$custom-light: #ce88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b452dc",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 282.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.21278,
    "h": 314.7
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#B452DC
secondary
#BAE0AA
accent
#E93F70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B452DC

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

Preview Lab → · Contrast checker → · Palette generator →

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