#8031B3#8031B3

#8031B3 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.197 H 308.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8031B3
RGBrgb(128, 49, 179)
HSLhsl(276, 57%, 45%)
HSVhsv(276, 73%, 70%)
CMYKcmyk(28.5%, 72.6%, 0%, 29.8%)
CIE-LABlab(37.92, 55.46, -54.48)
CIE-LCHlch(37.92, 77.74, 315.51°)
OKLaboklab(48.95% 0.1228 -0.1545)
OKLCHoklch(48.95% 0.197 308.5)
XYZxyz(18.1354, 10.0408, 43.6218)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031B3 #64B331
analogous
#3F31B3 #8031B3 #B331A5
triadic
#8031B3 #B38031 #31B380
tetradic
#8031B3 #B33F31 #64B331 #31A5B3
square
#8031B3 #B33F31 #64B331 #31A5B3
split-complementary
#8031B3 #A5B331 #31B33F
monochromatic
#3B1753 #5E2483 #8031B3 #9E52D0 #B982DD

Accessibility & contrast

On white

6.98
#8031B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8031B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031B3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031B3#FFFFFF#000000##FFFFFF
##8031B31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0A5AB0
Tritanopia (blue-blind)
#784F6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8031b3;
/* rgb */ color: rgb(128, 49, 179);
/* oklch */ color: oklch(48.9% 0.197 308.5);
Tailwind
colors: {
  custom: {
    50: '#a970cb',
    500: '#8031b3',
    950: '#000000',
  },
}
SCSS
$custom: #8031b3;
$custom-light: #a970cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8031b3",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 276.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.19737,
    "h": 308.5
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#8031B3
secondary
#98C67A
accent
#E04883
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8031B3

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

Preview Lab → · Contrast checker → · Palette generator →

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