#8031BC#8031BC

#8031BC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.206 H 306.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8031BC
RGBrgb(128, 49, 188)
HSLhsl(274, 59%, 46%)
HSVhsv(274, 74%, 74%)
CMYKcmyk(31.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(38.58, 57.48, -58.71)
CIE-LCHlch(38.58, 82.17, 314.39°)
OKLaboklab(49.63% 0.1212 -0.1669)
OKLCHoklch(49.63% 0.206 306)
XYZxyz(19.0755, 10.4168, 48.5729)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031BC #6DBC31
analogous
#3B31BC #8031BC #BC31B3
triadic
#8031BC #BC8031 #31BC80
tetradic
#8031BC #BC3B31 #6DBC31 #31B3BC
square
#8031BC #BC3B31 #6DBC31 #31B3BC
split-complementary
#8031BC #B3BC31 #31BC3B
monochromatic
#3E185B #5F248B #8031BC #9E57D3 #BA88E0

Accessibility & contrast

On white

6.81
#8031BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8031BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8031BC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031BC#FFFFFF#000000##FFFFFF
##8031BC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#755374
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8031bc;
/* rgb */ color: rgb(128, 49, 188);
/* oklch */ color: oklch(49.6% 0.206 306.0);
Tailwind
colors: {
  custom: {
    50: '#aa71d1',
    500: '#8031bc',
    950: '#000000',
  },
}
SCSS
$custom: #8031bc;
$custom-light: #aa71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8031bc",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 274.101,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.20631,
    "h": 306
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#8031BC
secondary
#9FCA7F
accent
#E24689
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8031BC

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

Preview Lab → · Contrast checker → · Palette generator →

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