#803AB5#803AB5

#803AB5 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.188 H 306.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#803AB5
RGBrgb(128, 58, 181)
HSLhsl(274, 51%, 47%)
HSVhsv(274, 68%, 71%)
CMYKcmyk(29.3%, 68%, 0%, 29%)
CIE-LABlab(39.50, 51.87, -53.10)
CIE-LCHlch(39.50, 74.23, 314.32°)
OKLaboklab(50.12% 0.1131 -0.1505)
OKLCHoklch(50.12% 0.188 306.9)
XYZxyz(18.7539, 10.9517, 44.8330)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AB5 #6FB53A
analogous
#433AB5 #803AB5 #B53AAD
triadic
#803AB5 #B5803A #3AB580
tetradic
#803AB5 #B5433A #6FB53A #3AADB5
square
#803AB5 #B5433A #6FB53A #3AADB5
split-complementary
#803AB5 #ADB53A #3AB543
monochromatic
#3E1C58 #5F2B87 #803AB5 #9E60CC #BA8EDB

Accessibility & contrast

On white

6.58
#803AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#803AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AB5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AB5#FFFFFF#000000##FFFFFF
##803AB51.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#775573
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803ab5;
/* rgb */ color: rgb(128, 58, 181);
/* oklch */ color: oklch(50.1% 0.188 306.9);
Tailwind
colors: {
  custom: {
    50: '#a975cc',
    500: '#803ab5',
    950: '#000000',
  },
}
SCSS
$custom: #803ab5;
$custom-light: #a975cc;
$custom-dark: #000000;
JSON
{
  "hex": "#803ab5",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 274.146,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.18825,
    "h": 306.9
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#803AB5
secondary
#A1C685
accent
#DB4D8A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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