#8031BD#8031BD

#8031BD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.207 H 305.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8031BD
RGBrgb(128, 49, 189)
HSLhsl(274, 59%, 47%)
HSVhsv(274, 74%, 74%)
CMYKcmyk(32.3%, 74.1%, 0%, 25.9%)
CIE-LABlab(38.66, 57.71, -59.18)
CIE-LCHlch(38.66, 82.66, 314.28°)
OKLaboklab(49.71% 0.121 -0.1683)
OKLCHoklch(49.71% 0.207 305.7)
XYZxyz(19.1837, 10.4601, 49.1426)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031BD #6EBD31
analogous
#3A31BD #8031BD #BD31B4
triadic
#8031BD #BD8031 #31BD80
tetradic
#8031BD #BD3A31 #6EBD31 #31B4BD
square
#8031BD #BD3A31 #6EBD31 #31B4BD
split-complementary
#8031BD #B4BD31 #31BD3A
monochromatic
#3E185C #5F248C #8031BD #9E58D4 #BA88E0

Accessibility & contrast

On white

6.79
#8031BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8031BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031BD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031BD#FFFFFF#000000##FFFFFF
##8031BD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#755375
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8031bd;
/* rgb */ color: rgb(128, 49, 189);
/* oklch */ color: oklch(49.7% 0.207 305.7);
Tailwind
colors: {
  custom: {
    50: '#aa71d2',
    500: '#8031bd',
    950: '#000000',
  },
}
SCSS
$custom: #8031bd;
$custom-light: #aa71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8031bd",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 273.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.20731,
    "h": 305.7
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#8031BD
secondary
#A0CA80
accent
#E2468A
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8031BD

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

Preview Lab → · Contrast checker → · Palette generator →

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