#803AAF#803AAF

#803AAF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.182 H 308.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#803AAF
RGBrgb(128, 58, 175)
HSLhsl(276, 50%, 46%)
HSVhsv(276, 67%, 69%)
CMYKcmyk(26.9%, 66.9%, 0%, 31.4%)
CIE-LABlab(39.09, 50.48, -50.21)
CIE-LCHlch(39.09, 71.20, 315.15°)
OKLaboklab(49.7% 0.1137 -0.142)
OKLCHoklch(49.7% 0.182 308.7)
XYZxyz(18.1514, 10.7108, 41.6603)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AAF #69AF3A
analogous
#453AAF #803AAF #AF3AA4
triadic
#803AAF #AF803A #3AAF80
tetradic
#803AAF #AF453A #69AF3A #3AA4AF
square
#803AAF #AF453A #69AF3A #3AA4AF
split-complementary
#803AAF #A4AF3A #3AAF45
monochromatic
#3D1C53 #5E2B81 #803AAF #9E5DC9 #B98BD9

Accessibility & contrast

On white

6.68
#803AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#803AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AAF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AAF#FFFFFF#000000##FFFFFF
##803AAF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#795370
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803aaf;
/* rgb */ color: rgb(128, 58, 175);
/* oklch */ color: oklch(49.7% 0.182 308.7);
Tailwind
colors: {
  custom: {
    50: '#a975c8',
    500: '#803aaf',
    950: '#000000',
  },
}
SCSS
$custom: #803aaf;
$custom-light: #a975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#803aaf",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 275.897,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.18191,
    "h": 308.7
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#803AAF
secondary
#9CC382
accent
#DA4E86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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