#B452DB#B452DB

#B452DB is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.212 H 315.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B452DB
RGBrgb(180, 82, 219)
HSLhsl(283, 66%, 59%)
HSVhsv(283, 63%, 86%)
CMYKcmyk(17.8%, 62.6%, 0%, 14.1%)
CIE-LABlab(52.79, 60.59, -53.36)
CIE-LCHlch(52.79, 80.74, 318.63°)
OKLaboklab(61.92% 0.1498 -0.1497)
OKLCHoklch(61.92% 0.212 315)
XYZxyz(34.6238, 20.8535, 69.2054)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452DB #79DB52
analogous
#7052DB #B452DB #DB52BD
triadic
#B452DB #DBB452 #52DBB4
tetradic
#B452DB #DB7052 #79DB52 #52BDDB
square
#B452DB #DB7052 #79DB52 #52BDDB
split-complementary
#B452DB #BDDB52 #52DB70
monochromatic
#731F94 #9A29C6 #B452DB #CA85E6 #E0B7F0

Accessibility & contrast

On white

4.06
#B452DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B452DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452DB#FFFFFF#000000##000000
##B452DB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E78DF
Deuteranopia (green-blind)
#4F81D8
Tritanopia (blue-blind)
#B16B8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b452db;
/* rgb */ color: rgb(180, 82, 219);
/* oklch */ color: oklch(61.9% 0.212 315.0);
Tailwind
colors: {
  custom: {
    50: '#ce88e7',
    500: '#b452db',
    950: '#000000',
  },
}
SCSS
$custom: #b452db;
$custom-light: #ce88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b452db",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 282.92,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.21181,
    "h": 315
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#B452DB
secondary
#B9DFAA
accent
#E93F6F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B452DB

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

Preview Lab → · Contrast checker → · Palette generator →

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