#8032A8#8032A8

#8032A8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 311.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8032A8
RGBrgb(128, 50, 168)
HSLhsl(280, 54%, 43%)
HSVhsv(280, 70%, 66%)
CMYKcmyk(23.8%, 70.2%, 0%, 34.1%)
CIE-LABlab(37.29, 52.60, -48.93)
CIE-LCHlch(37.29, 71.84, 317.07°)
OKLaboklab(48.26% 0.1233 -0.1382)
OKLCHoklch(48.26% 0.185 311.7)
XYZxyz(17.1093, 9.6980, 38.0088)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032A8 #5AA832
analogous
#4532A8 #8032A8 #A83295
triadic
#8032A8 #A88032 #32A880
tetradic
#8032A8 #A84532 #5AA832 #3295A8
square
#8032A8 #A84532 #5AA832 #3295A8
split-complementary
#8032A8 #95A832 #32A845
monochromatic
#38164A #5C2479 #8032A8 #A04DCA #B97CD8

Accessibility & contrast

On white

7.14
#8032A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8032A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8032A8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8032A8#FFFFFF#000000##FFFFFF
##8032A81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#2459A5
Tritanopia (blue-blind)
#7B4B69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8032a8;
/* rgb */ color: rgb(128, 50, 168);
/* oklch */ color: oklch(48.3% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#a970c2',
    500: '#8032a8',
    950: '#000000',
  },
}
SCSS
$custom: #8032a8;
$custom-light: #a970c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8032a8",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 279.661,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.1852,
    "h": 311.7
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#8032A8
secondary
#8FC175
accent
#DD4A7C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8032A8

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

Preview Lab → · Contrast checker → · Palette generator →

#8032A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva