#8451C5#8451C5

#8451C5 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.175 H 301.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8451C5
RGBrgb(132, 81, 197)
HSLhsl(266, 50%, 55%)
HSVhsv(266, 59%, 77%)
CMYKcmyk(33%, 58.9%, 0%, 22.7%)
CIE-LABlab(45.39, 44.85, -52.94)
CIE-LCHlch(45.39, 69.39, 310.27°)
OKLaboklab(54.83% 0.0904 -0.15)
OKLCHoklch(54.83% 0.175 301.1)
XYZxyz(22.5338, 14.8215, 54.4862)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451C5 #92C551
analogous
#5158C5 #8451C5 #BE51C5
triadic
#8451C5 #C58451 #51C584
tetradic
#8451C5 #C55158 #92C551 #51C5BE
square
#8451C5 #C55158 #92C551 #51C5BE
split-complementary
#8451C5 #C5BE51 #58C551
monochromatic
#492775 #6636A3 #8451C5 #A47FD4 #C5ADE4

Accessibility & contrast

On white

5.30
#8451C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8451C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451C5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451C5#FFFFFF#000000##FFFFFF
##8451C51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#776983
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8451c5;
/* rgb */ color: rgb(132, 81, 197);
/* oklch */ color: oklch(54.8% 0.175 301.1);
Tailwind
colors: {
  custom: {
    50: '#ac84d7',
    500: '#8451c5',
    950: '#000000',
  },
}
SCSS
$custom: #8451c5;
$custom-light: #ac84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8451c5",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 266.379,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5483,
    "c": 0.17511,
    "h": 301.1
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#8451C5
secondary
#BCD1A0
accent
#DA4E9C
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8451C5

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

Preview Lab → · Contrast checker → · Palette generator →

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