#8032AF#8032AF

#8032AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.192 H 309.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8032AF
RGBrgb(128, 50, 175)
HSLhsl(277, 56%, 44%)
HSVhsv(277, 71%, 69%)
CMYKcmyk(26.9%, 71.4%, 0%, 31.4%)
CIE-LABlab(37.78, 54.14, -52.32)
CIE-LCHlch(37.78, 75.29, 315.98°)
OKLaboklab(48.76% 0.1224 -0.1482)
OKLCHoklch(48.76% 0.192 309.6)
XYZxyz(17.7790, 9.9659, 41.5362)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032AF #61AF32
analogous
#4232AF #8032AF #AF32A0
triadic
#8032AF #AF8032 #32AF80
tetradic
#8032AF #AF4232 #61AF32 #32A0AF
square
#8032AF #AF4232 #61AF32 #32A0AF
split-complementary
#8032AF #A0AF32 #32AF42
monochromatic
#3A1750 #5D247F #8032AF #9F51CD #B981DB

Accessibility & contrast

On white

7.02
#8032AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8032AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8032AF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8032AF#FFFFFF#000000##FFFFFF
##8032AF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#794E6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8032af;
/* rgb */ color: rgb(128, 50, 175);
/* oklch */ color: oklch(48.8% 0.192 309.6);
Tailwind
colors: {
  custom: {
    50: '#a971c8',
    500: '#8032af',
    950: '#000000',
  },
}
SCSS
$custom: #8032af;
$custom-light: #a971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8032af",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 277.44,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.19219,
    "h": 309.6
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#8032AF
secondary
#95C479
accent
#DF4981
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8032AF

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

Preview Lab → · Contrast checker → · Palette generator →

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