#8031B9#8031B9

#8031B9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.203 H 306.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8031B9
RGBrgb(128, 49, 185)
HSLhsl(275, 58%, 46%)
HSVhsv(275, 74%, 73%)
CMYKcmyk(30.8%, 73.5%, 0%, 27.5%)
CIE-LABlab(38.36, 56.80, -57.31)
CIE-LCHlch(38.36, 80.69, 314.74°)
OKLaboklab(49.4% 0.1218 -0.1628)
OKLCHoklch(49.4% 0.203 306.8)
XYZxyz(18.7555, 10.2888, 46.8874)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031B9 #6AB931
analogous
#3C31B9 #8031B9 #B931AE
triadic
#8031B9 #B98031 #31B980
tetradic
#8031B9 #B93C31 #6AB931 #31AEB9
square
#8031B9 #B93C31 #6AB931 #31AEB9
split-complementary
#8031B9 #AEB931 #31B93C
monochromatic
#3D1758 #5F2489 #8031B9 #9E55D2 #B986DF

Accessibility & contrast

On white

6.87
#8031B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8031B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031B9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031B9#FFFFFF#000000##FFFFFF
##8031B91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#765172
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8031b9;
/* rgb */ color: rgb(128, 49, 185);
/* oklch */ color: oklch(49.4% 0.203 306.8);
Tailwind
colors: {
  custom: {
    50: '#aa71cf',
    500: '#8031b9',
    950: '#000000',
  },
}
SCSS
$custom: #8031b9;
$custom-light: #aa71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8031b9",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 274.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.20333,
    "h": 306.8
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#8031B9
secondary
#9DC87D
accent
#E14687
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8031B9

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

Preview Lab → · Contrast checker → · Palette generator →

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