#8451EB#8451EB

#8451EB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.220 H 293.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8451EB
RGBrgb(132, 81, 235)
HSLhsl(260, 79%, 62%)
HSVhsv(260, 66%, 92%)
CMYKcmyk(43.8%, 65.5%, 0%, 7.8%)
CIE-LABlab(47.99, 54.67, -70.42)
CIE-LCHlch(47.99, 89.15, 307.82°)
OKLaboklab(57.54% 0.0876 -0.2014)
OKLCHoklch(57.54% 0.22 293.5)
XYZxyz(27.4495, 16.7878, 80.3753)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451EB #B8EB51
analogous
#516BEB #8451EB #D151EB
triadic
#8451EB #EB8451 #51EB84
tetradic
#8451EB #EB516B #B8EB51 #51EBD1
square
#8451EB #EB516B #B8EB51 #51EBD1
split-complementary
#8451EB #EBD151 #6BEB51
monochromatic
#4714AE #5D1AE5 #8451EB #AB88F1 #D2BFF8

Accessibility & contrast

On white

4.82
#8451EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8451EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451EB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451EB#FFFFFF#000000##FFFFFF
##8451EB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#677697
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8451eb;
/* rgb */ color: rgb(132, 81, 235);
/* oklch */ color: oklch(57.5% 0.220 293.5);
Tailwind
colors: {
  custom: {
    50: '#af85f2',
    500: '#8451eb',
    950: '#000000',
  },
}
SCSS
$custom: #8451eb;
$custom-light: #af85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8451eb",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 259.87,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.21961,
    "h": 293.5
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#8451EB
secondary
#D5E8B0
accent
#DC0A96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8451EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8451EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva