#803AC0#803AC0

#803AC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.200 H 304.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#803AC0
RGBrgb(128, 58, 192)
HSLhsl(271, 54%, 49%)
HSVhsv(271, 70%, 75%)
CMYKcmyk(33.3%, 69.8%, 0%, 24.7%)
CIE-LABlab(40.28, 54.45, -58.30)
CIE-LCHlch(40.28, 79.77, 313.04°)
OKLaboklab(50.93% 0.1117 -0.1658)
OKLCHoklch(50.93% 0.2 304)
XYZxyz(19.9274, 11.4211, 51.0136)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AC0 #7AC03A
analogous
#3D3AC0 #803AC0 #C03ABD
triadic
#803AC0 #C0803A #3AC080
tetradic
#803AC0 #C03D3A #7AC03A #3ABDC0
square
#803AC0 #C03D3A #7AC03A #3ABDC0
split-complementary
#803AC0 #BDC03A #3AC03D
monochromatic
#411E62 #612C91 #803AC0 #9E66D1 #BC95DF

Accessibility & contrast

On white

6.39
#803AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#803AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AC0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AC0#FFFFFF#000000##FFFFFF
##803AC01.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#745979
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803ac0;
/* rgb */ color: rgb(128, 58, 192);
/* oklch */ color: oklch(50.9% 0.200 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa76d4',
    500: '#803ac0',
    950: '#000000',
  },
}
SCSS
$custom: #803ac0;
$custom-light: #aa76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#803ac0",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 271.343,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.19988,
    "h": 304
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#803AC0
secondary
#A9CA8B
accent
#DD4B91
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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