#8452EF#8452EF

#8452EF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.223 H 292.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8452EF
RGBrgb(132, 82, 239)
HSLhsl(259, 83%, 63%)
HSVhsv(259, 66%, 94%)
CMYKcmyk(44.8%, 65.7%, 0%, 6.3%)
CIE-LABlab(48.48, 55.21, -71.89)
CIE-LCHlch(48.48, 90.64, 307.53°)
OKLaboklab(57.98% 0.0861 -0.2057)
OKLCHoklch(57.98% 0.223 292.7)
XYZxyz(28.1087, 17.1712, 83.4780)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8452EF #BDEF52
analogous
#526EEF #8452EF #D252EF
triadic
#8452EF #EF8452 #52EF84
tetradic
#8452EF #EF526E #BDEF52 #52EFD2
square
#8452EF #EF526E #BDEF52 #52EFD2
split-complementary
#8452EF #EFD252 #6EEF52
monochromatic
#4511B6 #5C1AEA #8452EF #AC8AF4 #D4C2F9

Accessibility & contrast

On white

4.74
#8452EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8452EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8452EF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8452EF#FFFFFF#000000##FFFFFF
##8452EF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#65789A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8452ef;
/* rgb */ color: rgb(132, 82, 239);
/* oklch */ color: oklch(58.0% 0.223 292.7);
Tailwind
colors: {
  custom: {
    50: '#b086f5',
    500: '#8452ef',
    950: '#000000',
  },
}
SCSS
$custom: #8452ef;
$custom-light: #b086f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8452ef",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 259.108,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.22298,
    "h": 292.7
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#8452EF
secondary
#D9EBB2
accent
#DF069A
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8452EF

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

Preview Lab → · Contrast checker → · Palette generator →

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