#8431E2#8431E2

#8431E2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.2% C 0.244 H 298.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8431E2
RGBrgb(132, 49, 226)
HSLhsl(268, 75%, 54%)
HSVhsv(268, 78%, 89%)
CMYKcmyk(41.6%, 78.3%, 0%, 11.4%)
CIE-LABlab(42.14, 66.89, -74.87)
CIE-LCHlch(42.14, 100.39, 311.78°)
OKLaboklab(53.18% 0.1176 -0.2142)
OKLCHoklch(53.18% 0.244 298.8)
XYZxyz(24.3380, 12.5928, 73.0851)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8431E2 #8FE231
analogous
#3137E2 #8431E2 #DD31E2
triadic
#8431E2 #E28431 #31E284
tetradic
#8431E2 #E23137 #8FE231 #31E2DD
square
#8431E2 #E23137 #8FE231 #31E2DD
split-complementary
#8431E2 #E2DD31 #37E231
monochromatic
#491386 #661ABB #8431E2 #A467EA #C49CF1

Accessibility & contrast

On white

5.97
#8431E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8431E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8431E2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8431E2#FFFFFF#000000##FFFFFF
##8431E21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#6C628A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8431e2;
/* rgb */ color: rgb(132, 49, 226);
/* oklch */ color: oklch(53.2% 0.244 298.8);
Tailwind
colors: {
  custom: {
    50: '#b073ec',
    500: '#8431e2',
    950: '#000000',
  },
}
SCSS
$custom: #8431e2;
$custom-light: #b073ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8431e2",
  "rgb": {
    "r": 132,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 268.136,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.2444,
    "h": 298.8
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#8431E2
secondary
#BADD92
accent
#F2369A
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8431E2

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

Preview Lab → · Contrast checker → · Palette generator →

#8431E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva