#8451F2#8451F2

#8451F2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.228 H 292.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8451F2
RGBrgb(132, 81, 242)
HSLhsl(259, 86%, 63%)
HSVhsv(259, 67%, 95%)
CMYKcmyk(45.5%, 66.5%, 0%, 5.1%)
CIE-LABlab(48.51, 56.52, -73.51)
CIE-LCHlch(48.51, 92.73, 307.56°)
OKLaboklab(58.08% 0.0867 -0.2104)
OKLCHoklch(58.08% 0.228 292.4)
XYZxyz(28.4807, 17.2003, 85.8066)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451F2 #BFF251
analogous
#516EF2 #8451F2 #D451F2
triadic
#8451F2 #F28451 #51F284
tetradic
#8451F2 #F2516E #BFF251 #51F2D4
square
#8451F2 #F2516E #BFF251 #51F2D4
split-complementary
#8451F2 #F2D451 #6EF251
monochromatic
#450EBB #5C18EE #8451F2 #AC8AF6 #D5C3FB

Accessibility & contrast

On white

4.73
#8451F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8451F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451F2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451F2#FFFFFF#000000##FFFFFF
##8451F21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#63799B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8451f2;
/* rgb */ color: rgb(132, 81, 242);
/* oklch */ color: oklch(58.1% 0.228 292.4);
Tailwind
colors: {
  custom: {
    50: '#b085f7',
    500: '#8451f2',
    950: '#000000',
  },
}
SCSS
$custom: #8451f2;
$custom-light: #b085f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8451f2",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 259.006,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.2276,
    "h": 292.4
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#8451F2
secondary
#DAECB3
accent
#E3039C
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8451F2

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

Preview Lab → · Contrast checker → · Palette generator →

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