#8431D4#8431D4

#8431D4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.231 H 301.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8431D4
RGBrgb(132, 49, 212)
HSLhsl(271, 65%, 51%)
HSVhsv(271, 77%, 83%)
CMYKcmyk(37.7%, 76.9%, 0%, 16.9%)
CIE-LABlab(40.99, 63.65, -68.74)
CIE-LCHlch(40.99, 93.68, 312.80°)
OKLaboklab(52.02% 0.1214 -0.1963)
OKLCHoklch(52.02% 0.231 301.7)
XYZxyz(22.4948, 11.8555, 63.3778)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8431D4 #81D431
analogous
#3231D4 #8431D4 #D431D3
triadic
#8431D4 #D48431 #31D484
tetradic
#8431D4 #D43231 #81D431 #31D3D4
square
#8431D4 #D43231 #81D431 #31D3D4
split-complementary
#8431D4 #D3D431 #31D432
monochromatic
#461873 #6523A5 #8431D4 #A264DF #C096E9

Accessibility & contrast

On white

6.23
#8431D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8431D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8431D4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8431D4#FFFFFF#000000##FFFFFF
##8431D41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#725C82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8431d4;
/* rgb */ color: rgb(132, 49, 212);
/* oklch */ color: oklch(52.0% 0.231 301.7);
Tailwind
colors: {
  custom: {
    50: '#af72e2',
    500: '#8431d4',
    950: '#000000',
  },
}
SCSS
$custom: #8431d4;
$custom-light: #af72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8431d4",
  "rgb": {
    "r": 132,
    "g": 49,
    "b": 212
  },
  "hsl": {
    "h": 270.552,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.23076,
    "h": 301.7
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#8431D4
secondary
#B0D48C
accent
#E83F92
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8431D4

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

Preview Lab → · Contrast checker → · Palette generator →

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