#8036BA#8036BA

#8036BA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.198 H 306.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8036BA
RGBrgb(128, 54, 186)
HSLhsl(274, 55%, 47%)
HSVhsv(274, 71%, 73%)
CMYKcmyk(31.2%, 71%, 0%, 27.1%)
CIE-LABlab(39.20, 54.86, -56.54)
CIE-LCHlch(39.20, 78.78, 314.14°)
OKLaboklab(50.02% 0.1167 -0.1606)
OKLCHoklch(50.02% 0.198 306)
XYZxyz(19.0822, 10.7729, 47.5189)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8036BA #70BA36
analogous
#3E36BA #8036BA #BA36B2
triadic
#8036BA #BA8036 #36BA80
tetradic
#8036BA #BA3E36 #70BA36 #36B2BA
square
#8036BA #BA3E36 #70BA36 #36B2BA
split-complementary
#8036BA #B2BA36 #36BA3E
monochromatic
#3F1A5B #5F288B #8036BA #9E5DD0 #BA8DDE

Accessibility & contrast

On white

6.66
#8036BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8036BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8036BA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8036BA#FFFFFF#000000##FFFFFF
##8036BA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#765574
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8036ba;
/* rgb */ color: rgb(128, 54, 186);
/* oklch */ color: oklch(50.0% 0.198 306.0);
Tailwind
colors: {
  custom: {
    50: '#aa73d0',
    500: '#8036ba',
    950: '#000000',
  },
}
SCSS
$custom: #8036ba;
$custom-light: #aa73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8036ba",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 273.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.19849,
    "h": 306
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#8036BA
secondary
#A2C884
accent
#DE498B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #8036BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8036BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva