#8451D7#8451D7

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

Color values

HEX#8451D7
RGBrgb(132, 81, 215)
HSLhsl(263, 63%, 58%)
HSVhsv(263, 62%, 84%)
CMYKcmyk(38.6%, 62.3%, 0%, 15.7%)
CIE-LABlab(46.57, 49.45, -61.38)
CIE-LCHlch(46.57, 78.82, 308.86°)
OKLaboklab(56.07% 0.0896 -0.1748)
OKLCHoklch(56.07% 0.196 297.1)
XYZxyz(24.7207, 15.6963, 66.0041)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451D7 #A4D751
analogous
#5161D7 #8451D7 #C751D7
triadic
#8451D7 #D78451 #51D784
tetradic
#8451D7 #D75161 #A4D751 #51D7C7
square
#8451D7 #D75161 #A4D751 #51D7C7
split-complementary
#8451D7 #D7C751 #61D751
monochromatic
#4A208D #642CBF #8451D7 #A783E2 #CAB5EE

Accessibility & contrast

On white

5.07
#8451D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8451D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451D7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451D7#FFFFFF#000000##FFFFFF
##8451D71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#026DD4
Tritanopia (blue-blind)
#706F8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8451d7;
/* rgb */ color: rgb(132, 81, 215);
/* oklch */ color: oklch(56.1% 0.196 297.1);
Tailwind
colors: {
  custom: {
    50: '#ad84e4',
    500: '#8451d7',
    950: '#000000',
  },
}
SCSS
$custom: #8451d7;
$custom-light: #ad84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8451d7",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 262.836,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.19641,
    "h": 297.1
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#8451D7
secondary
#C8DDA7
accent
#E642A7
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8451D7

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

Preview Lab → · Contrast checker → · Palette generator →

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