#8451DC#8451DC

#8451DC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.202 H 296.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8451DC
RGBrgb(132, 81, 220)
HSLhsl(262, 67%, 59%)
HSVhsv(262, 63%, 86%)
CMYKcmyk(40%, 63.2%, 0%, 13.7%)
CIE-LABlab(46.92, 50.75, -63.67)
CIE-LCHlch(46.92, 81.42, 308.55°)
OKLaboklab(56.43% 0.0892 -0.1815)
OKLCHoklch(56.43% 0.202 296.2)
XYZxyz(25.3730, 15.9572, 69.4395)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451DC #A9DC51
analogous
#5164DC #8451DC #C951DC
triadic
#8451DC #DC8451 #51DC84
tetradic
#8451DC #DC5164 #A9DC51 #51DCC9
square
#8451DC #DC5164 #A9DC51 #51DCC9
split-complementary
#8451DC #DCC951 #64DC51
monochromatic
#491E95 #6328C8 #8451DC #A884E6 #CCB7F0

Accessibility & contrast

On white

5.01
#8451DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8451DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451DC#FFFFFF#000000##FFFFFF
##8451DC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#6E718F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8451dc;
/* rgb */ color: rgb(132, 81, 220);
/* oklch */ color: oklch(56.4% 0.202 296.2);
Tailwind
colors: {
  custom: {
    50: '#ae84e8',
    500: '#8451dc',
    950: '#000000',
  },
}
SCSS
$custom: #8451dc;
$custom-light: #ae84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8451dc",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 262.014,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.20226,
    "h": 296.2
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#8451DC
secondary
#CCE0A9
accent
#E93EAB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8451DC

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

Preview Lab → · Contrast checker → · Palette generator →

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