#8036AF#8036AF

#8036AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.187 H 309.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8036AF
RGBrgb(128, 54, 175)
HSLhsl(277, 53%, 45%)
HSVhsv(277, 69%, 69%)
CMYKcmyk(26.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(38.42, 52.35, -51.30)
CIE-LCHlch(38.42, 73.30, 315.58°)
OKLaboklab(49.22% 0.1182 -0.1452)
OKLCHoklch(49.22% 0.187 309.1)
XYZxyz(17.9576, 10.3230, 41.5957)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8036AF #65AF36
analogous
#4436AF #8036AF #AF36A2
triadic
#8036AF #AF8036 #36AF80
tetradic
#8036AF #AF4436 #65AF36 #36A2AF
square
#8036AF #AF4436 #65AF36 #36A2AF
split-complementary
#8036AF #A2AF36 #36AF44
monochromatic
#3C1951 #5E2880 #8036AF #9E57CB #B986DA

Accessibility & contrast

On white

6.85
#8036AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8036AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8036AF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8036AF#FFFFFF#000000##FFFFFF
##8036AF1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#79506E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8036af;
/* rgb */ color: rgb(128, 54, 175);
/* oklch */ color: oklch(49.2% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#a973c8',
    500: '#8036af',
    950: '#000000',
  },
}
SCSS
$custom: #8036af;
$custom-light: #a973c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8036af",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 276.694,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.18718,
    "h": 309.1
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#8036AF
secondary
#99C37D
accent
#DC4C84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8036AF

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

Preview Lab → · Contrast checker → · Palette generator →

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