#8031CE#8031CE

#8031CE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.1% C 0.224 H 301.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8031CE
RGBrgb(128, 49, 206)
HSLhsl(270, 62%, 50%)
HSVhsv(270, 76%, 81%)
CMYKcmyk(37.9%, 76.2%, 0%, 19.2%)
CIE-LABlab(39.98, 61.62, -66.93)
CIE-LCHlch(39.98, 90.97, 312.63°)
OKLaboklab(51.05% 0.1173 -0.1911)
OKLCHoklch(51.05% 0.224 301.5)
XYZxyz(21.1383, 11.2419, 59.4368)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031CE #7FCE31
analogous
#3131CE #8031CE #CE31CE
triadic
#8031CE #CE8031 #31CE80
tetradic
#8031CE #CE3131 #7FCE31 #31CECE
square
#8031CE #CE3131 #7FCE31 #31CECE
split-complementary
#8031CE #CECE31 #31CE31
monochromatic
#43196B #61259D #8031CE #9E62DA #BD94E6

Accessibility & contrast

On white

6.46
#8031CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8031CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031CE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031CE#FFFFFF#000000##FFFFFF
##8031CE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#6F5A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8031ce;
/* rgb */ color: rgb(128, 49, 206);
/* oklch */ color: oklch(51.1% 0.224 301.5);
Tailwind
colors: {
  custom: {
    50: '#ac72de',
    500: '#8031ce',
    950: '#000000',
  },
}
SCSS
$custom: #8031ce;
$custom-light: #ac72de;
$custom-dark: #000000;
JSON
{
  "hex": "#8031ce",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 270.191,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.22419,
    "h": 301.5
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#8031CE
secondary
#ADD18A
accent
#E54393
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8031CE

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

Preview Lab → · Contrast checker → · Palette generator →

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