#8451C2#8451C2

#8451C2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.172 H 301.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8451C2
RGBrgb(132, 81, 194)
HSLhsl(267, 48%, 54%)
HSVhsv(267, 58%, 76%)
CMYKcmyk(32%, 58.2%, 0%, 23.9%)
CIE-LABlab(45.20, 44.10, -51.51)
CIE-LCHlch(45.20, 67.80, 310.57°)
OKLaboklab(54.63% 0.0904 -0.1458)
OKLCHoklch(54.63% 0.172 301.8)
XYZxyz(22.1935, 14.6854, 52.6938)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451C2 #8FC251
analogous
#5157C2 #8451C2 #BD51C2
triadic
#8451C2 #C28451 #51C284
tetradic
#8451C2 #C25157 #8FC251 #51C2BD
square
#8451C2 #C25157 #8FC251 #51C2BD
split-complementary
#8451C2 #C2BD51 #57C251
monochromatic
#492871 #66379E #8451C2 #A47ED2 #C4ACE2

Accessibility & contrast

On white

5.33
#8451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8451C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451C2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451C2#FFFFFF#000000##FFFFFF
##8451C21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#786882
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8451c2;
/* rgb */ color: rgb(132, 81, 194);
/* oklch */ color: oklch(54.6% 0.172 301.8);
Tailwind
colors: {
  custom: {
    50: '#ab84d5',
    500: '#8451c2',
    950: '#000000',
  },
}
SCSS
$custom: #8451c2;
$custom-light: #ab84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8451c2",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 267.08,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.17153,
    "h": 301.8
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#8451C2
secondary
#BAD09F
accent
#D8509A
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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