#8451E1#8451E1

#8451E1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.208 H 295.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8451E1
RGBrgb(132, 81, 225)
HSLhsl(261, 71%, 60%)
HSVhsv(261, 64%, 88%)
CMYKcmyk(41.3%, 64%, 0%, 11.8%)
CIE-LABlab(47.27, 52.05, -65.94)
CIE-LCHlch(47.27, 84.01, 308.28°)
OKLaboklab(56.79% 0.0888 -0.1882)
OKLCHoklch(56.79% 0.208 295.2)
XYZxyz(26.0452, 16.2260, 72.9793)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451E1 #AEE151
analogous
#5166E1 #8451E1 #CC51E1
triadic
#8451E1 #E18451 #51E184
tetradic
#8451E1 #E15166 #AEE151 #51E1CC
square
#8451E1 #E15166 #AEE151 #51E1CC
split-complementary
#8451E1 #E1CC51 #66E151
monochromatic
#491B9D #6124D1 #8451E1 #A985EA #CEB9F3

Accessibility & contrast

On white

4.95
#8451E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8451E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451E1#FFFFFF#000000##FFFFFF
##8451E11.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#6C7292
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8451e1;
/* rgb */ color: rgb(132, 81, 225);
/* oklch */ color: oklch(56.8% 0.208 295.2);
Tailwind
colors: {
  custom: {
    50: '#ae85eb',
    500: '#8451e1',
    950: '#000000',
  },
}
SCSS
$custom: #8451e1;
$custom-light: #ae85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8451e1",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 261.25,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.20808,
    "h": 295.2
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#8451E1
secondary
#CFE3AB
accent
#ED3AAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8451E1

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

Preview Lab → · Contrast checker → · Palette generator →

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