#8031C8#8031C8

#8031C8 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.218 H 302.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8031C8
RGBrgb(128, 49, 200)
HSLhsl(271, 61%, 49%)
HSVhsv(271, 76%, 78%)
CMYKcmyk(36%, 75.5%, 0%, 21.6%)
CIE-LABlab(39.51, 60.23, -64.23)
CIE-LCHlch(39.51, 88.05, 313.16°)
OKLaboklab(50.57% 0.1187 -0.1831)
OKLCHoklch(50.57% 0.218 302.9)
XYZxyz(20.4233, 10.9559, 55.6711)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031C8 #79C831
analogous
#3531C8 #8031C8 #C831C5
triadic
#8031C8 #C88031 #31C880
tetradic
#8031C8 #C83531 #79C831 #31C5C8
square
#8031C8 #C83531 #79C831 #31C5C8
split-complementary
#8031C8 #C5C831 #31C835
monochromatic
#411966 #612597 #8031C8 #9E5FD8 #BC90E4

Accessibility & contrast

On white

6.58
#8031C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8031C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031C8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031C8#FFFFFF#000000##FFFFFF
##8031C81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#71587B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8031c8;
/* rgb */ color: rgb(128, 49, 200);
/* oklch */ color: oklch(50.6% 0.218 302.9);
Tailwind
colors: {
  custom: {
    50: '#ab71da',
    500: '#8031c8',
    950: '#000000',
  },
}
SCSS
$custom: #8031c8;
$custom-light: #ab71da;
$custom-dark: #000000;
JSON
{
  "hex": "#8031c8",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 271.391,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.21823,
    "h": 302.9
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#8031C8
secondary
#A9CE86
accent
#E44490
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8031C8

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

Preview Lab → · Contrast checker → · Palette generator →

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