#8032A2#8032A2

#8032A2 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.179 H 313.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8032A2
RGBrgb(128, 50, 162)
HSLhsl(282, 53%, 42%)
HSVhsv(282, 69%, 64%)
CMYKcmyk(21%, 69.1%, 0%, 36.5%)
CIE-LABlab(36.89, 51.30, -45.98)
CIE-LCHlch(36.89, 68.89, 318.13°)
OKLaboklab(47.84% 0.1238 -0.1296)
OKLCHoklch(47.84% 0.179 313.7)
XYZxyz(16.5632, 9.4796, 35.1326)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032A2 #54A232
analogous
#4832A2 #8032A2 #A2328C
triadic
#8032A2 #A28032 #32A280
tetradic
#8032A2 #A24832 #54A232 #328CA2
square
#8032A2 #A24832 #54A232 #328CA2
split-complementary
#8032A2 #8CA232 #32A248
monochromatic
#361544 #5B2473 #8032A2 #A14AC7 #B979D6

Accessibility & contrast

On white

7.25
#8032A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8032A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8032A2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8032A2#FFFFFF#000000##FFFFFF
##8032A21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#2B599F
Tritanopia (blue-blind)
#7D4966
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8032a2;
/* rgb */ color: rgb(128, 50, 162);
/* oklch */ color: oklch(47.8% 0.179 313.7);
Tailwind
colors: {
  custom: {
    50: '#a870be',
    500: '#8032a2',
    950: '#000000',
  },
}
SCSS
$custom: #8032a2;
$custom-light: #a870be;
$custom-dark: #000000;
JSON
{
  "hex": "#8032a2",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 281.786,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.17923,
    "h": 313.7
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#8032A2
secondary
#89BE72
accent
#DC4C77
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8032A2

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

Preview Lab → · Contrast checker → · Palette generator →

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