#8457E4#8457E4

#8457E4 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.204 H 293.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8457E4
RGBrgb(132, 87, 228)
HSLhsl(259, 72%, 62%)
HSVhsv(259, 62%, 89%)
CMYKcmyk(42.1%, 61.8%, 0%, 10.6%)
CIE-LABlab(48.66, 49.65, -65.38)
CIE-LCHlch(48.66, 82.10, 307.21°)
OKLaboklab(57.87% 0.0821 -0.1866)
OKLCHoklch(57.87% 0.204 293.7)
XYZxyz(26.9237, 17.3226, 75.3088)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8457E4 #B7E457
analogous
#5771E4 #8457E4 #CB57E4
triadic
#8457E4 #E48457 #57E484
tetradic
#8457E4 #E45771 #B7E457 #57E4CB
square
#8457E4 #E45771 #B7E457 #57E4CB
split-complementary
#8457E4 #E4CB57 #71E457
monochromatic
#471BA6 #5E23DB #8457E4 #AB8CEC #D1C0F5

Accessibility & contrast

On white

4.70
#8457E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8457E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8457E4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8457E4#FFFFFF#000000##FFFFFF
##8457E41.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#6A7795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8457e4;
/* rgb */ color: rgb(132, 87, 228);
/* oklch */ color: oklch(57.9% 0.204 293.7);
Tailwind
colors: {
  custom: {
    50: '#ae88ed',
    500: '#8457e4',
    950: '#000000',
  },
}
SCSS
$custom: #8457e4;
$custom-light: #ae88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8457e4",
  "rgb": {
    "r": 132,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 259.149,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.20381,
    "h": 293.7
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#8457E4
secondary
#D5E6B1
accent
#D41196
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8457E4

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

Preview Lab → · Contrast checker → · Palette generator →

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