#8452DC#8452DC

#8452DC is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.201 H 296.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8452DC
RGBrgb(132, 82, 220)
HSLhsl(262, 66%, 59%)
HSVhsv(262, 63%, 86%)
CMYKcmyk(40%, 62.7%, 0%, 13.7%)
CIE-LABlab(47.11, 50.22, -63.35)
CIE-LCHlch(47.11, 80.84, 308.40°)
OKLaboklab(56.57% 0.0881 -0.1806)
OKLCHoklch(56.57% 0.201 296)
XYZxyz(25.4479, 16.1069, 69.4645)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8452DC #AADC52
analogous
#5265DC #8452DC #C952DC
triadic
#8452DC #DC8452 #52DC84
tetradic
#8452DC #DC5265 #AADC52 #52DCC9
square
#8452DC #DC5265 #AADC52 #52DCC9
split-complementary
#8452DC #DCC952 #65DC52
monochromatic
#491E95 #6229C8 #8452DC #A885E6 #CCB8F1

Accessibility & contrast

On white

4.97
#8452DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8452DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8452DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8452DC#FFFFFF#000000##FFFFFF
##8452DC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#6E7190
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8452dc;
/* rgb */ color: rgb(132, 82, 220);
/* oklch */ color: oklch(56.6% 0.201 296.0);
Tailwind
colors: {
  custom: {
    50: '#ae85e8',
    500: '#8452dc',
    950: '#000000',
  },
}
SCSS
$custom: #8452dc;
$custom-light: #ae85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8452dc",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 261.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.20095,
    "h": 296
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#8452DC
secondary
#CCE0AA
accent
#E93FAB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8452DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8452DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva