#803AB3#803AB3

#803AB3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.186 H 307.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#803AB3
RGBrgb(128, 58, 179)
HSLhsl(275, 51%, 46%)
HSVhsv(275, 68%, 70%)
CMYKcmyk(28.5%, 67.6%, 0%, 29.8%)
CIE-LABlab(39.36, 51.40, -52.14)
CIE-LCHlch(39.36, 73.22, 314.59°)
OKLaboklab(49.98% 0.1133 -0.1477)
OKLCHoklch(49.98% 0.186 307.5)
XYZxyz(18.5501, 10.8702, 43.7600)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AB3 #6DB33A
analogous
#443AB3 #803AB3 #B33AAA
triadic
#803AB3 #B3803A #3AB380
tetradic
#803AB3 #B3443A #6DB33A #3AAAB3
square
#803AB3 #B3443A #6DB33A #3AAAB3
split-complementary
#803AB3 #AAB33A #3AB344
monochromatic
#3E1C57 #5F2B85 #803AB3 #9E5FCB #BA8DDA

Accessibility & contrast

On white

6.62
#803AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#803AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AB3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AB3#FFFFFF#000000##FFFFFF
##803AB31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#785472
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803ab3;
/* rgb */ color: rgb(128, 58, 179);
/* oklch */ color: oklch(50.0% 0.186 307.5);
Tailwind
colors: {
  custom: {
    50: '#a975ca',
    500: '#803ab3',
    950: '#000000',
  },
}
SCSS
$custom: #803ab3;
$custom-light: #a975ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803ab3",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 274.711,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.18614,
    "h": 307.5
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#803AB3
secondary
#9FC584
accent
#DB4D89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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