#8031C5#8031C5

#8031C5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.215 H 303.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8031C5
RGBrgb(128, 49, 197)
HSLhsl(272, 60%, 48%)
HSVhsv(272, 75%, 77%)
CMYKcmyk(35%, 75.1%, 0%, 22.7%)
CIE-LABlab(39.27, 59.54, -62.86)
CIE-LCHlch(39.27, 86.58, 313.44°)
OKLaboklab(50.33% 0.1194 -0.1791)
OKLCHoklch(50.33% 0.215 303.7)
XYZxyz(20.0761, 10.8171, 53.8427)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031C5 #76C531
analogous
#3631C5 #8031C5 #C531C0
triadic
#8031C5 #C58031 #31C580
tetradic
#8031C5 #C53631 #76C531 #31C0C5
square
#8031C5 #C53631 #76C531 #31C0C5
split-complementary
#8031C5 #C0C531 #31C536
monochromatic
#401963 #602594 #8031C5 #9E5DD7 #BB8EE3

Accessibility & contrast

On white

6.64
#8031C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8031C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031C5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031C5#FFFFFF#000000##FFFFFF
##8031C51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#725679
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8031c5;
/* rgb */ color: rgb(128, 49, 197);
/* oklch */ color: oklch(50.3% 0.215 303.7);
Tailwind
colors: {
  custom: {
    50: '#ab71d8',
    500: '#8031c5',
    950: '#000000',
  },
}
SCSS
$custom: #8031c5;
$custom-light: #ab71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8031c5",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 272.027,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.21525,
    "h": 303.7
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#8031C5
secondary
#A6CD85
accent
#E3448F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8031C5

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

Preview Lab → · Contrast checker → · Palette generator →

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