#8451B2#8451B2

#8451B2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.152 H 306.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8451B2
RGBrgb(132, 81, 178)
HSLhsl(272, 39%, 51%)
HSVhsv(272, 54%, 70%)
CMYKcmyk(25.8%, 54.5%, 0%, 30.2%)
CIE-LABlab(44.24, 40.16, -43.70)
CIE-LCHlch(44.24, 59.35, 312.58°)
OKLaboklab(53.62% 0.09 -0.1229)
OKLCHoklch(53.62% 0.152 306.2)
XYZxyz(20.4924, 14.0049, 43.7345)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451B2 #7FB251
analogous
#5351B2 #8451B2 #B251AF
triadic
#8451B2 #B28451 #51B284
tetradic
#8451B2 #B25351 #7FB251 #51AFB2
square
#8451B2 #B25351 #7FB251 #51AFB2
split-complementary
#8451B2 #AFB251 #51B253
monochromatic
#462A5F #653D89 #8451B2 #A27BC5 #C0A6D8

Accessibility & contrast

On white

5.52
#8451B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8451B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451B2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451B2#FFFFFF#000000##FFFFFF
##8451B21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#7D637A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8451b2;
/* rgb */ color: rgb(132, 81, 178);
/* oklch */ color: oklch(53.6% 0.152 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa84c9',
    500: '#8451b2',
    950: '#000000',
  },
}
SCSS
$custom: #8451b2;
$custom-light: #aa84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8451b2",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 271.546,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.15231,
    "h": 306.2
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#8451B2
secondary
#AEC59A
accent
#CF5991
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8451B2

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

Preview Lab → · Contrast checker → · Palette generator →

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