#8031BB#8031BB

#8031BB is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.205 H 306.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8031BB
RGBrgb(128, 49, 187)
HSLhsl(274, 58%, 46%)
HSVhsv(274, 74%, 73%)
CMYKcmyk(31.6%, 73.8%, 0%, 26.7%)
CIE-LABlab(38.51, 57.25, -58.25)
CIE-LCHlch(38.51, 81.67, 314.51°)
OKLaboklab(49.55% 0.1214 -0.1656)
OKLCHoklch(49.55% 0.205 306.3)
XYZxyz(18.9681, 10.3739, 48.0072)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031BB #6CBB31
analogous
#3B31BB #8031BB #BB31B1
triadic
#8031BB #BB8031 #31BB80
tetradic
#8031BB #BB3B31 #6CBB31 #31B1BB
square
#8031BB #BB3B31 #6CBB31 #31B1BB
split-complementary
#8031BB #B1BB31 #31BB3B
monochromatic
#3E185A #5F248B #8031BB #9E56D3 #BA87E0

Accessibility & contrast

On white

6.83
#8031BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8031BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031BB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031BB#FFFFFF#000000##FFFFFF
##8031BB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#765274
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8031bb;
/* rgb */ color: rgb(128, 49, 187);
/* oklch */ color: oklch(49.6% 0.205 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa71d0',
    500: '#8031bb',
    950: '#000000',
  },
}
SCSS
$custom: #8031bb;
$custom-light: #aa71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8031bb",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 274.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.20532,
    "h": 306.3
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#8031BB
secondary
#9EC97F
accent
#E24689
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8031BB

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

Preview Lab → · Contrast checker → · Palette generator →

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