#803BAE#803BAE

#803BAE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.179 H 308.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#803BAE
RGBrgb(128, 59, 174)
HSLhsl(276, 49%, 46%)
HSVhsv(276, 66%, 68%)
CMYKcmyk(26.4%, 66.1%, 0%, 31.8%)
CIE-LABlab(39.20, 49.77, -49.45)
CIE-LCHlch(39.20, 70.16, 315.19°)
OKLaboklab(49.75% 0.1126 -0.1398)
OKLCHoklch(49.75% 0.179 308.9)
XYZxyz(18.1045, 10.7734, 41.1619)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BAE #69AE3B
analogous
#463BAE #803BAE #AE3BA2
triadic
#803BAE #AE803B #3BAE80
tetradic
#803BAE #AE463B #69AE3B #3BA2AE
square
#803BAE #AE463B #69AE3B #3BA2AE
split-complementary
#803BAE #A2AE3B #3BAE46
monochromatic
#3D1C53 #5E2C80 #803BAE #9E5EC8 #B98CD8

Accessibility & contrast

On white

6.66
#803BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#803BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BAE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BAE#FFFFFF#000000##FFFFFF
##803BAE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#275DAB
Tritanopia (blue-blind)
#79536F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803bae;
/* rgb */ color: rgb(128, 59, 174);
/* oklch */ color: oklch(49.8% 0.179 308.9);
Tailwind
colors: {
  custom: {
    50: '#a976c7',
    500: '#803bae',
    950: '#000000',
  },
}
SCSS
$custom: #803bae;
$custom-light: #a976c7;
$custom-dark: #000000;
JSON
{
  "hex": "#803bae",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 276,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.17949,
    "h": 308.9
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#803BAE
secondary
#9CC282
accent
#D94F86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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