#8451E2#8451E2

#8451E2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.209 H 295.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8451E2
RGBrgb(132, 81, 226)
HSLhsl(261, 71%, 60%)
HSVhsv(261, 64%, 89%)
CMYKcmyk(41.6%, 64.2%, 0%, 11.4%)
CIE-LABlab(47.34, 52.31, -66.39)
CIE-LCHlch(47.34, 84.53, 308.23°)
OKLaboklab(56.87% 0.0887 -0.1895)
OKLCHoklch(56.87% 0.209 295.1)
XYZxyz(26.1820, 16.2808, 73.6998)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451E2 #AFE251
analogous
#5167E2 #8451E2 #CC51E2
triadic
#8451E2 #E28451 #51E284
tetradic
#8451E2 #E25167 #AFE251 #51E2CC
square
#8451E2 #E25167 #AFE251 #51E2CC
split-complementary
#8451E2 #E2CC51 #67E251
monochromatic
#491A9E #6123D3 #8451E2 #A985EB #CEBAF3

Accessibility & contrast

On white

4.93
#8451E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8451E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451E2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451E2#FFFFFF#000000##FFFFFF
##8451E21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#6B7392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8451e2;
/* rgb */ color: rgb(132, 81, 226);
/* oklch */ color: oklch(56.9% 0.209 295.1);
Tailwind
colors: {
  custom: {
    50: '#ae85ec',
    500: '#8451e2',
    950: '#000000',
  },
}
SCSS
$custom: #8451e2;
$custom-light: #ae85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8451e2",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 261.103,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.20924,
    "h": 295.1
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#8451E2
secondary
#D0E3AC
accent
#D3128F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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