#8037A2#8037A2

#8037A2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.172 H 313.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8037A2
RGBrgb(128, 55, 162)
HSLhsl(281, 49%, 43%)
HSVhsv(281, 66%, 64%)
CMYKcmyk(21%, 66%, 0%, 36.5%)
CIE-LABlab(37.72, 49.00, -44.66)
CIE-LCHlch(37.72, 66.30, 317.65°)
OKLaboklab(48.44% 0.1181 -0.1257)
OKLCHoklch(48.44% 0.172 313.2)
XYZxyz(16.7887, 9.9307, 35.2078)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037A2 #59A237
analogous
#4B37A2 #8037A2 #A2378E
triadic
#8037A2 #A28037 #37A280
tetradic
#8037A2 #A24B37 #59A237 #378EA2
square
#8037A2 #A24B37 #59A237 #378EA2
split-complementary
#8037A2 #8EA237 #37A24B
monochromatic
#381847 #5C2774 #8037A2 #A052C4 #B980D4

Accessibility & contrast

On white

7.03
#8037A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8037A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8037A2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037A2#FFFFFF#000000##FFFFFF
##8037A21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#7D4C68
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8037a2;
/* rgb */ color: rgb(128, 55, 162);
/* oklch */ color: oklch(48.4% 0.172 313.2);
Tailwind
colors: {
  custom: {
    50: '#a873be',
    500: '#8037a2',
    950: '#000000',
  },
}
SCSS
$custom: #8037a2;
$custom-light: #a873be;
$custom-dark: #000000;
JSON
{
  "hex": "#8037a2",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 280.935,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.17246,
    "h": 313.2
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#8037A2
secondary
#8EBD78
accent
#D94F7B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8037A2

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

Preview Lab → · Contrast checker → · Palette generator →

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