#8031BF#8031BF

#8031BF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.209 H 305.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8031BF
RGBrgb(128, 49, 191)
HSLhsl(273, 59%, 47%)
HSVhsv(273, 74%, 75%)
CMYKcmyk(33%, 74.3%, 0%, 25.1%)
CIE-LABlab(38.81, 58.16, -60.11)
CIE-LCHlch(38.81, 83.64, 314.06°)
OKLaboklab(49.86% 0.1206 -0.171)
OKLCHoklch(49.86% 0.209 305.2)
XYZxyz(19.4023, 10.5475, 50.2938)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031BF #70BF31
analogous
#3931BF #8031BF #BF31B7
triadic
#8031BF #BF8031 #31BF80
tetradic
#8031BF #BF3931 #70BF31 #31B7BF
square
#8031BF #BF3931 #70BF31 #31B7BF
split-complementary
#8031BF #B7BF31 #31BF39
monochromatic
#3F185E #5F258E #8031BF #9E59D4 #BA8AE1

Accessibility & contrast

On white

6.75
#8031BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8031BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031BF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031BF#FFFFFF#000000##FFFFFF
##8031BF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#745476
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8031bf;
/* rgb */ color: rgb(128, 49, 191);
/* oklch */ color: oklch(49.9% 0.209 305.2);
Tailwind
colors: {
  custom: {
    50: '#aa71d3',
    500: '#8031bf',
    950: '#000000',
  },
}
SCSS
$custom: #8031bf;
$custom-light: #aa71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8031bf",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 273.38,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.20929,
    "h": 305.2
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#8031BF
secondary
#A2CB81
accent
#E2458B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8031BF

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

Preview Lab → · Contrast checker → · Palette generator →

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