#8031B0#8031B0

#8031B0 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.194 H 309.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8031B0
RGBrgb(128, 49, 176)
HSLhsl(277, 56%, 44%)
HSVhsv(277, 72%, 69%)
CMYKcmyk(27.3%, 72.2%, 0%, 31%)
CIE-LABlab(37.70, 54.79, -53.05)
CIE-LCHlch(37.70, 76.26, 315.92°)
OKLaboklab(48.73% 0.1233 -0.1503)
OKLCHoklch(48.73% 0.194 309.4)
XYZxyz(17.8353, 9.9208, 42.0412)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031B0 #61B031
analogous
#4131B0 #8031B0 #B031A1
triadic
#8031B0 #B08031 #31B080
tetradic
#8031B0 #B04131 #61B031 #31A1B0
square
#8031B0 #B04131 #61B031 #31A1B0
split-complementary
#8031B0 #A1B031 #31B041
monochromatic
#3A1650 #5D2480 #8031B0 #9F50CE #B980DC

Accessibility & contrast

On white

7.04
#8031B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8031B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8031B0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031B0#FFFFFF#000000##FFFFFF
##8031B01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#135AAD
Tritanopia (blue-blind)
#794E6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8031b0;
/* rgb */ color: rgb(128, 49, 176);
/* oklch */ color: oklch(48.7% 0.194 309.4);
Tailwind
colors: {
  custom: {
    50: '#a970c8',
    500: '#8031b0',
    950: '#000000',
  },
}
SCSS
$custom: #8031b0;
$custom-light: #a970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8031b0",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 277.323,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.19439,
    "h": 309.4
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#8031B0
secondary
#95C578
accent
#E04881
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8031B0

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

Preview Lab → · Contrast checker → · Palette generator →

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