#8031C6#8031C6

#8031C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.216 H 303.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8031C6
RGBrgb(128, 49, 198)
HSLhsl(272, 60%, 48%)
HSVhsv(272, 75%, 78%)
CMYKcmyk(35.4%, 75.3%, 0%, 22.4%)
CIE-LABlab(39.35, 59.77, -63.32)
CIE-LCHlch(39.35, 87.07, 313.35°)
OKLaboklab(50.41% 0.1191 -0.1805)
OKLCHoklch(50.41% 0.216 303.4)
XYZxyz(20.1911, 10.8631, 54.4482)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031C6 #77C631
analogous
#3531C6 #8031C6 #C631C1
triadic
#8031C6 #C68031 #31C680
tetradic
#8031C6 #C63531 #77C631 #31C1C6
square
#8031C6 #C63531 #77C631 #31C1C6
split-complementary
#8031C6 #C1C631 #31C635
monochromatic
#411964 #602595 #8031C6 #9E5DD7 #BB8EE3

Accessibility & contrast

On white

6.62
#8031C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8031C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031C6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031C6#FFFFFF#000000##FFFFFF
##8031C61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#72577A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8031c6;
/* rgb */ color: rgb(128, 49, 198);
/* oklch */ color: oklch(50.4% 0.216 303.4);
Tailwind
colors: {
  custom: {
    50: '#ab71d8',
    500: '#8031c6',
    950: '#000000',
  },
}
SCSS
$custom: #8031c6;
$custom-light: #ab71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8031c6",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 271.812,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.21625,
    "h": 303.4
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#8031C6
secondary
#A7CE85
accent
#E3448F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8031C6

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

Preview Lab → · Contrast checker → · Palette generator →

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