#8031B6#8031B6

#8031B6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.200 H 307.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8031B6
RGBrgb(128, 49, 182)
HSLhsl(276, 58%, 45%)
HSVhsv(276, 73%, 71%)
CMYKcmyk(29.7%, 73.1%, 0%, 28.6%)
CIE-LABlab(38.13, 56.13, -55.90)
CIE-LCHlch(38.13, 79.22, 315.11°)
OKLaboklab(49.17% 0.1223 -0.1587)
OKLCHoklch(49.17% 0.2 307.6)
XYZxyz(18.4421, 10.1635, 45.2371)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031B6 #67B631
analogous
#3D31B6 #8031B6 #B631AA
triadic
#8031B6 #B68031 #31B680
tetradic
#8031B6 #B63D31 #67B631 #31AAB6
square
#8031B6 #B63D31 #67B631 #31AAB6
split-complementary
#8031B6 #AAB631 #31B63D
monochromatic
#3C1756 #5E2486 #8031B6 #9E53D1 #B984DE

Accessibility & contrast

On white

6.92
#8031B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8031B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031B6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031B6#FFFFFF#000000##FFFFFF
##8031B61.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#775071
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8031b6;
/* rgb */ color: rgb(128, 49, 182);
/* oklch */ color: oklch(49.2% 0.200 307.6);
Tailwind
colors: {
  custom: {
    50: '#aa71cd',
    500: '#8031b6',
    950: '#000000',
  },
}
SCSS
$custom: #8031b6;
$custom-light: #aa71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8031b6",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 275.639,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.20035,
    "h": 307.6
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#8031B6
secondary
#9AC77C
accent
#E14785
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8031B6

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

Preview Lab → · Contrast checker → · Palette generator →

#8031B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva