#803AA2#803AA2

#803AA2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.168 H 312.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#803AA2
RGBrgb(128, 58, 162)
HSLhsl(280, 47%, 43%)
HSVhsv(280, 64%, 64%)
CMYKcmyk(21%, 64.2%, 0%, 36.5%)
CIE-LABlab(38.24, 47.55, -43.82)
CIE-LCHlch(38.24, 64.66, 317.34°)
OKLaboklab(48.82% 0.1144 -0.1232)
OKLCHoklch(48.82% 0.168 312.9)
XYZxyz(16.9356, 10.2244, 35.2568)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AA2 #5CA23A
analogous
#4C3AA2 #803AA2 #A23A90
triadic
#803AA2 #A2803A #3AA280
tetradic
#803AA2 #A24C3A #5CA23A #3A90A2
square
#803AA2 #A24C3A #5CA23A #3A90A2
split-complementary
#803AA2 #90A23A #3AA24C
monochromatic
#391A48 #5C2A75 #803AA2 #9F57C3 #B984D3

Accessibility & contrast

On white

6.90
#803AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#803AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AA2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AA2#FFFFFF#000000##FFFFFF
##803AA21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#7C4E69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #803aa2;
/* rgb */ color: rgb(128, 58, 162);
/* oklch */ color: oklch(48.8% 0.168 312.9);
Tailwind
colors: {
  custom: {
    50: '#a875be',
    500: '#803aa2',
    950: '#000000',
  },
}
SCSS
$custom: #803aa2;
$custom-light: #a875be;
$custom-dark: #000000;
JSON
{
  "hex": "#803aa2",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 280.385,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48816,
    "c": 0.16819,
    "h": 312.9
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#803AA2
secondary
#91BD7B
accent
#D7517D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803AA2

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

Preview Lab → · Contrast checker → · Palette generator →

#803AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva