#8031C9#8031C9

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

Color values

HEX#8031C9
RGBrgb(128, 49, 201)
HSLhsl(271, 61%, 49%)
HSVhsv(271, 76%, 79%)
CMYKcmyk(36.3%, 75.6%, 0%, 21.2%)
CIE-LABlab(39.59, 60.46, -64.68)
CIE-LCHlch(39.59, 88.54, 313.07°)
OKLaboklab(50.65% 0.1185 -0.1845)
OKLCHoklch(50.65% 0.219 302.7)
XYZxyz(20.5405, 11.0028, 56.2886)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031C9 #7AC931
analogous
#3431C9 #8031C9 #C931C6
triadic
#8031C9 #C98031 #31C980
tetradic
#8031C9 #C93431 #7AC931 #31C6C9
square
#8031C9 #C93431 #7AC931 #31C6C9
split-complementary
#8031C9 #C6C931 #31C934
monochromatic
#411967 #612598 #8031C9 #9E5FD8 #BC90E4

Accessibility & contrast

On white

6.56
#8031C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8031C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031C9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031C9#FFFFFF#000000##FFFFFF
##8031C91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8031c9;
/* rgb */ color: rgb(128, 49, 201);
/* oklch */ color: oklch(50.6% 0.219 302.7);
Tailwind
colors: {
  custom: {
    50: '#ab71da',
    500: '#8031c9',
    950: '#000000',
  },
}
SCSS
$custom: #8031c9;
$custom-light: #ab71da;
$custom-dark: #000000;
JSON
{
  "hex": "#8031c9",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 271.184,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.21922,
    "h": 302.7
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#8031C9
secondary
#A9CF87
accent
#E44491
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8031C9

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

Preview Lab → · Contrast checker → · Palette generator →

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