#8031B8#8031B8

#8031B8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.202 H 307.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8031B8
RGBrgb(128, 49, 184)
HSLhsl(275, 58%, 46%)
HSVhsv(275, 73%, 72%)
CMYKcmyk(30.4%, 73.4%, 0%, 27.8%)
CIE-LABlab(38.28, 56.58, -56.84)
CIE-LCHlch(38.28, 80.20, 314.87°)
OKLaboklab(49.32% 0.122 -0.1614)
OKLCHoklch(49.32% 0.202 307.1)
XYZxyz(18.6503, 10.2467, 46.3334)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031B8 #69B831
analogous
#3C31B8 #8031B8 #B831AC
triadic
#8031B8 #B88031 #31B880
tetradic
#8031B8 #B83C31 #69B831 #31ACB8
square
#8031B8 #B83C31 #69B831 #31ACB8
split-complementary
#8031B8 #ACB831 #31B83C
monochromatic
#3D1757 #5E2488 #8031B8 #9E55D2 #B985DE

Accessibility & contrast

On white

6.89
#8031B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8031B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031B8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031B8#FFFFFF#000000##FFFFFF
##8031B81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#775172
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8031b8;
/* rgb */ color: rgb(128, 49, 184);
/* oklch */ color: oklch(49.3% 0.202 307.1);
Tailwind
colors: {
  custom: {
    50: '#aa71ce',
    500: '#8031b8',
    950: '#000000',
  },
}
SCSS
$custom: #8031b8;
$custom-light: #aa71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8031b8",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 275.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.20234,
    "h": 307.1
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#8031B8
secondary
#9CC87D
accent
#E14787
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #8031B8

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

Preview Lab → · Contrast checker → · Palette generator →

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