#803AC2#803AC2

#803AC2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.202 H 303.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#803AC2
RGBrgb(128, 58, 194)
HSLhsl(271, 54%, 49%)
HSVhsv(271, 70%, 76%)
CMYKcmyk(34%, 70.1%, 0%, 23.9%)
CIE-LABlab(40.43, 54.92, -59.23)
CIE-LCHlch(40.43, 80.77, 312.84°)
OKLaboklab(51.08% 0.1114 -0.1685)
OKLCHoklch(51.08% 0.202 303.5)
XYZxyz(20.1505, 11.5104, 52.1886)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AC2 #7CC23A
analogous
#3C3AC2 #803AC2 #C23AC0
triadic
#803AC2 #C2803A #3AC280
tetradic
#803AC2 #C23C3A #7CC23A #3AC0C2
square
#803AC2 #C23C3A #7CC23A #3AC0C2
split-complementary
#803AC2 #C0C23A #3AC23C
monochromatic
#421E64 #612C93 #803AC2 #9E67D2 #BC97E0

Accessibility & contrast

On white

6.36
#803AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#803AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AC2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AC2#FFFFFF#000000##FFFFFF
##803AC21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#735A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803ac2;
/* rgb */ color: rgb(128, 58, 194);
/* oklch */ color: oklch(51.1% 0.202 303.5);
Tailwind
colors: {
  custom: {
    50: '#aa76d5',
    500: '#803ac2',
    950: '#000000',
  },
}
SCSS
$custom: #803ac2;
$custom-light: #aa76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#803ac2",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 270.882,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.20198,
    "h": 303.5
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#803AC2
secondary
#ABCB8D
accent
#DD4A92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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