#8431B7#8431B7

#8431B7 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.202 H 309.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8431B7
RGBrgb(132, 49, 183)
HSLhsl(277, 58%, 45%)
HSVhsv(277, 73%, 72%)
CMYKcmyk(27.9%, 73.2%, 0%, 28.2%)
CIE-LABlab(38.76, 57.12, -55.45)
CIE-LCHlch(38.76, 79.61, 315.85°)
OKLaboklab(49.76% 0.1276 -0.1572)
OKLCHoklch(49.76% 0.202 309.1)
XYZxyz(19.1595, 10.5214, 45.8121)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8431B7 #64B731
analogous
#4131B7 #8431B7 #B731A7
triadic
#8431B7 #B78431 #31B784
tetradic
#8431B7 #B74131 #64B731 #31A7B7
square
#8431B7 #B74131 #64B731 #31A7B7
split-complementary
#8431B7 #A7B731 #31B741
monochromatic
#3E1756 #612487 #8431B7 #A254D1 #BC84DE

Accessibility & contrast

On white

6.77
#8431B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8431B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8431B7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8431B7#FFFFFF#000000##FFFFFF
##8431B71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0B5CB4
Tritanopia (blue-blind)
#7C5071
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8431b7;
/* rgb */ color: rgb(132, 49, 183);
/* oklch */ color: oklch(49.8% 0.202 309.1);
Tailwind
colors: {
  custom: {
    50: '#ac71cd',
    500: '#8431b7',
    950: '#000000',
  },
}
SCSS
$custom: #8431b7;
$custom-light: #ac71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8431b7",
  "rgb": {
    "r": 132,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 277.164,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.20245,
    "h": 309.1
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#8431B7
secondary
#99C87C
accent
#E14781
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8431B7

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

Preview Lab → · Contrast checker → · Palette generator →

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