#8456E4#8456E4

#8456E4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.205 H 293.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8456E4
RGBrgb(132, 86, 228)
HSLhsl(259, 72%, 62%)
HSVhsv(259, 62%, 89%)
CMYKcmyk(42.1%, 62.3%, 0%, 10.6%)
CIE-LABlab(48.46, 50.19, -65.71)
CIE-LCHlch(48.46, 82.68, 307.37°)
OKLaboklab(57.73% 0.0832 -0.1875)
OKLCHoklch(57.73% 0.205 293.9)
XYZxyz(26.8433, 17.1618, 75.2820)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8456E4 #B6E456
analogous
#566FE4 #8456E4 #CB56E4
triadic
#8456E4 #E48456 #56E484
tetradic
#8456E4 #E4566F #B6E456 #56E4CB
square
#8456E4 #E4566F #B6E456 #56E4CB
split-complementary
#8456E4 #E4CB56 #6FE456
monochromatic
#471AA5 #5E23DA #8456E4 #AA8BEC #D1C0F5

Accessibility & contrast

On white

4.74
#8456E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8456E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8456E4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8456E4#FFFFFF#000000##FFFFFF
##8456E41.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)
#0075E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#6A7795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8456e4;
/* rgb */ color: rgb(132, 86, 228);
/* oklch */ color: oklch(57.7% 0.205 293.9);
Tailwind
colors: {
  custom: {
    50: '#ae88ed',
    500: '#8456e4',
    950: '#000000',
  },
}
SCSS
$custom: #8456e4;
$custom-light: #ae88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8456e4",
  "rgb": {
    "r": 132,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 259.437,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.20512,
    "h": 293.9
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#8456E4
secondary
#D4E5B0
accent
#D51195
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8456E4

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

Preview Lab → · Contrast checker → · Palette generator →

#8456E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva