#803AAA#803AAA

#803AAA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.177 H 310.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#803AAA
RGBrgb(128, 58, 170)
HSLhsl(278, 49%, 45%)
HSVhsv(278, 66%, 67%)
CMYKcmyk(24.7%, 65.9%, 0%, 33.3%)
CIE-LABlab(38.76, 49.34, -47.78)
CIE-LCHlch(38.76, 68.68, 315.92°)
OKLaboklab(49.35% 0.1141 -0.1349)
OKLCHoklch(49.35% 0.177 310.2)
XYZxyz(17.6694, 10.5180, 39.1218)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AAA #64AA3A
analogous
#483AAA #803AAA #AA3A9C
triadic
#803AAA #AA803A #3AAA80
tetradic
#803AAA #AA483A #64AA3A #3A9CAA
square
#803AAA #AA483A #64AA3A #3A9CAA
split-complementary
#803AAA #9CAA3A #3AAA48
monochromatic
#3B1B4F #5E2A7C #803AAA #9E5AC7 #B988D6

Accessibility & contrast

On white

6.77
#803AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#803AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AAA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AAA#FFFFFF#000000##FFFFFF
##803AAA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#7A516D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #803aaa;
/* rgb */ color: rgb(128, 58, 170);
/* oklch */ color: oklch(49.4% 0.177 310.2);
Tailwind
colors: {
  custom: {
    50: '#a875c4',
    500: '#803aaa',
    950: '#000000',
  },
}
SCSS
$custom: #803aaa;
$custom-light: #a875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#803aaa",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 277.5,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.17663,
    "h": 310.2
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#803AAA
secondary
#98C17F
accent
#D94F83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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