#B452DF#B452DF

#B452DF is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.216 H 314.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B452DF
RGBrgb(180, 82, 223)
HSLhsl(282, 69%, 60%)
HSVhsv(282, 63%, 87%)
CMYKcmyk(19.3%, 63.2%, 0%, 12.5%)
CIE-LABlab(53.02, 61.41, -55.25)
CIE-LCHlch(53.02, 82.60, 318.02°)
OKLaboklab(62.16% 0.1497 -0.1553)
OKLCHoklch(62.16% 0.216 314)
XYZxyz(35.1567, 21.0667, 72.0120)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452DF #7DDF52
analogous
#6E52DF #B452DF #DF52C4
triadic
#B452DF #DFB452 #52DFB4
tetradic
#B452DF #DF6E52 #7DDF52 #52C4DF
square
#B452DF #DF6E52 #7DDF52 #52C4DF
split-complementary
#B452DF #C4DF52 #52DF6E
monochromatic
#741D9A #9B26CE #B452DF #CA86E9 #E1B9F2

Accessibility & contrast

On white

4.03
#B452DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B452DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452DF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452DF#FFFFFF#000000##000000
##B452DF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#4C81DC
Tritanopia (blue-blind)
#B06D91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b452df;
/* rgb */ color: rgb(180, 82, 223);
/* oklch */ color: oklch(62.2% 0.216 314.0);
Tailwind
colors: {
  custom: {
    50: '#ce88ea',
    500: '#b452df',
    950: '#000000',
  },
}
SCSS
$custom: #b452df;
$custom-light: #ce88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b452df",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 281.702,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.2157,
    "h": 314
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#B452DF
secondary
#BCE2AB
accent
#EC3C72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B452DF

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

Preview Lab → · Contrast checker → · Palette generator →

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