#8451D8#8451D8

#8451D8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.198 H 296.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8451D8
RGBrgb(132, 81, 216)
HSLhsl(263, 63%, 58%)
HSVhsv(263, 63%, 85%)
CMYKcmyk(38.9%, 62.5%, 0%, 15.3%)
CIE-LABlab(46.64, 49.71, -61.84)
CIE-LCHlch(46.64, 79.34, 308.79°)
OKLaboklab(56.14% 0.0895 -0.1761)
OKLCHoklch(56.14% 0.198 296.9)
XYZxyz(24.8496, 15.7478, 66.6828)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451D8 #A5D851
analogous
#5161D8 #8451D8 #C851D8
triadic
#8451D8 #D88451 #51D884
tetradic
#8451D8 #D85161 #A5D851 #51D8C8
square
#8451D8 #D85161 #A5D851 #51D8C8
split-complementary
#8451D8 #D8C851 #61D851
monochromatic
#4A208F #642BC1 #8451D8 #A783E3 #CBB5EE

Accessibility & contrast

On white

5.06
#8451D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8451D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451D8#FFFFFF#000000##FFFFFF
##8451D81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#706F8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8451d8;
/* rgb */ color: rgb(132, 81, 216);
/* oklch */ color: oklch(56.1% 0.198 296.9);
Tailwind
colors: {
  custom: {
    50: '#ad84e5',
    500: '#8451d8',
    950: '#000000',
  },
}
SCSS
$custom: #8451d8;
$custom-light: #ad84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8451d8",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 262.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.19758,
    "h": 296.9
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#8451D8
secondary
#C9DDA8
accent
#E641A8
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8451D8

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

Preview Lab → · Contrast checker → · Palette generator →

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