#8451CC#8451CC

#8451CC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.183 H 299.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8451CC
RGBrgb(132, 81, 204)
HSLhsl(265, 55%, 56%)
HSVhsv(265, 60%, 80%)
CMYKcmyk(35.3%, 60.3%, 0%, 20%)
CIE-LABlab(45.84, 46.62, -56.26)
CIE-LCHlch(45.84, 73.07, 309.65°)
OKLaboklab(55.3% 0.0902 -0.1597)
OKLCHoklch(55.3% 0.183 299.5)
XYZxyz(23.3546, 15.1498, 58.8088)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451CC #99CC51
analogous
#515BCC #8451CC #C151CC
triadic
#8451CC #CC8451 #51CC84
tetradic
#8451CC #CC515B #99CC51 #51CCC1
square
#8451CC #CC515B #99CC51 #51CCC1
split-complementary
#8451CC #CCC151 #5BCC51
monochromatic
#4A257E #6533AD #8451CC #A580DA #C7B0E8

Accessibility & contrast

On white

5.21
#8451CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8451CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451CC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451CC#FFFFFF#000000##FFFFFF
##8451CC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#246CC9
Tritanopia (blue-blind)
#746B87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8451cc;
/* rgb */ color: rgb(132, 81, 204);
/* oklch */ color: oklch(55.3% 0.183 299.5);
Tailwind
colors: {
  custom: {
    50: '#ac84dc',
    500: '#8451cc',
    950: '#000000',
  },
}
SCSS
$custom: #8451cc;
$custom-light: #ac84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8451cc",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 264.878,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.18343,
    "h": 299.5
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#8451CC
secondary
#C1D6A3
accent
#DE4AA1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8451CC

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

Preview Lab → · Contrast checker → · Palette generator →

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