#8031D0#8031D0

#8031D0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.226 H 301.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8031D0
RGBrgb(128, 49, 208)
HSLhsl(270, 63%, 50%)
HSVhsv(270, 76%, 82%)
CMYKcmyk(38.5%, 76.4%, 0%, 18.4%)
CIE-LABlab(40.15, 62.08, -67.82)
CIE-LCHlch(40.15, 91.95, 312.47°)
OKLaboklab(51.22% 0.1168 -0.1937)
OKLCHoklch(51.22% 0.226 301.1)
XYZxyz(21.3828, 11.3397, 60.7245)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031D0 #81D031
analogous
#3132D0 #8031D0 #CF31D0
triadic
#8031D0 #D08031 #31D080
tetradic
#8031D0 #D03132 #81D031 #31D0CF
square
#8031D0 #D03132 #81D031 #31D0CF
split-complementary
#8031D0 #D0CF31 #32D031
monochromatic
#43196E #62249F #8031D0 #9F63DB #BD95E7

Accessibility & contrast

On white

6.43
#8031D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8031D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031D0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031D0#FFFFFF#000000##FFFFFF
##8031D01.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#6E5B7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8031d0;
/* rgb */ color: rgb(128, 49, 208);
/* oklch */ color: oklch(51.2% 0.226 301.1);
Tailwind
colors: {
  custom: {
    50: '#ac72df',
    500: '#8031d0',
    950: '#000000',
  },
}
SCSS
$custom: #8031d0;
$custom-light: #ac72df;
$custom-dark: #000000;
JSON
{
  "hex": "#8031d0",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 269.811,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.22616,
    "h": 301.1
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#8031D0
secondary
#AFD28B
accent
#E64294
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8031D0

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

Preview Lab → · Contrast checker → · Palette generator →

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