#8452E2#8452E2

#8452E2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.208 H 294.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8452E2
RGBrgb(132, 82, 226)
HSLhsl(261, 71%, 60%)
HSVhsv(261, 64%, 89%)
CMYKcmyk(41.6%, 63.7%, 0%, 11.4%)
CIE-LABlab(47.53, 51.79, -66.08)
CIE-LCHlch(47.53, 83.95, 308.08°)
OKLaboklab(57.01% 0.0876 -0.1886)
OKLCHoklch(57.01% 0.208 294.9)
XYZxyz(26.2568, 16.4305, 73.7248)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8452E2 #B0E252
analogous
#5268E2 #8452E2 #CC52E2
triadic
#8452E2 #E28452 #52E284
tetradic
#8452E2 #E25268 #B0E252 #52E2CC
square
#8452E2 #E25268 #B0E252 #52E2CC
split-complementary
#8452E2 #E2CC52 #68E252
monochromatic
#491B9F #6123D3 #8452E2 #A986EB #CFBBF4

Accessibility & contrast

On white

4.90
#8452E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8452E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8452E2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8452E2#FFFFFF#000000##FFFFFF
##8452E21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#6B7393
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8452e2;
/* rgb */ color: rgb(132, 82, 226);
/* oklch */ color: oklch(57.0% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#ae85ec',
    500: '#8452e2',
    950: '#000000',
  },
}
SCSS
$custom: #8452e2;
$custom-light: #ae85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8452e2",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 260.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57008,
    "c": 0.20796,
    "h": 294.9
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#8452E2
secondary
#D0E3AC
accent
#D31290
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8452E2

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

Preview Lab → · Contrast checker → · Palette generator →

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