#803BA2#803BA2

#803BA2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.9% C 0.167 H 312.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#803BA2
RGBrgb(128, 59, 162)
HSLhsl(280, 47%, 43%)
HSVhsv(280, 64%, 64%)
CMYKcmyk(21%, 63.6%, 0%, 36.5%)
CIE-LABlab(38.42, 47.06, -43.53)
CIE-LCHlch(38.42, 64.11, 317.23°)
OKLaboklab(48.95% 0.1132 -0.1224)
OKLCHoklch(48.95% 0.167 312.8)
XYZxyz(16.9865, 10.3262, 35.2738)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BA2 #5DA23B
analogous
#4C3BA2 #803BA2 #A23B90
triadic
#803BA2 #A2803B #3BA280
tetradic
#803BA2 #A24C3B #5DA23B #3B90A2
square
#803BA2 #A24C3B #5DA23B #3B90A2
split-complementary
#803BA2 #90A23B #3BA24C
monochromatic
#391A48 #5D2B75 #803BA2 #9F58C2 #B985D3

Accessibility & contrast

On white

6.85
#803BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#803BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BA2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BA2#FFFFFF#000000##FFFFFF
##803BA21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #803ba2;
/* rgb */ color: rgb(128, 59, 162);
/* oklch */ color: oklch(48.9% 0.167 312.8);
Tailwind
colors: {
  custom: {
    50: '#a875be',
    500: '#803ba2',
    950: '#000000',
  },
}
SCSS
$custom: #803ba2;
$custom-light: #a875be;
$custom-dark: #000000;
JSON
{
  "hex": "#803ba2",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 280.194,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.16674,
    "h": 312.8
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#803BA2
secondary
#91BD7C
accent
#D6527D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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