#B452D6#B452D6

#B452D6 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.207 H 316.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B452D6
RGBrgb(180, 82, 214)
HSLhsl(285, 62%, 58%)
HSVhsv(285, 62%, 84%)
CMYKcmyk(15.9%, 61.7%, 0%, 16.1%)
CIE-LABlab(52.50, 59.58, -50.97)
CIE-LCHlch(52.50, 78.41, 319.45°)
OKLaboklab(61.61% 0.1498 -0.1428)
OKLCHoklch(61.61% 0.207 316.4)
XYZxyz(33.9755, 20.5942, 65.7907)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452D6 #74D652
analogous
#7252D6 #B452D6 #D652B6
triadic
#B452D6 #D6B452 #52D6B4
tetradic
#B452D6 #D67252 #74D652 #52B6D6
square
#B452D6 #D67252 #74D652 #52B6D6
split-complementary
#B452D6 #B6D652 #52D672
monochromatic
#71218C #992DBE #B452D6 #C983E2 #DFB5ED

Accessibility & contrast

On white

4.10
#B452D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B452D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452D6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452D6#FFFFFF#000000##000000
##B452D61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2777DA
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#B2698D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b452d6;
/* rgb */ color: rgb(180, 82, 214);
/* oklch */ color: oklch(61.6% 0.207 316.4);
Tailwind
colors: {
  custom: {
    50: '#ce88e3',
    500: '#b452d6',
    950: '#000000',
  },
}
SCSS
$custom: #b452d6;
$custom-light: #ce88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b452d6",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 284.545,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.20697,
    "h": 316.4
  },
  "luminance": 0.20593
}

Semantic roles & 50–950 ramp

primary
#B452D6
secondary
#B5DCA8
accent
#E5436D
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B452D6

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

Preview Lab → · Contrast checker → · Palette generator →

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