#803AB4#803AB4

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

Color values

HEX#803AB4
RGBrgb(128, 58, 180)
HSLhsl(274, 51%, 47%)
HSVhsv(274, 68%, 71%)
CMYKcmyk(28.9%, 67.8%, 0%, 29.4%)
CIE-LABlab(39.43, 51.63, -52.62)
CIE-LCHlch(39.43, 73.72, 314.46°)
OKLaboklab(50.05% 0.1132 -0.1491)
OKLCHoklch(50.05% 0.187 307.2)
XYZxyz(18.6516, 10.9108, 44.2946)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AB4 #6EB43A
analogous
#433AB4 #803AB4 #B43AAB
triadic
#803AB4 #B4803A #3AB480
tetradic
#803AB4 #B4433A #6EB43A #3AABB4
square
#803AB4 #B4433A #6EB43A #3AABB4
split-complementary
#803AB4 #ABB43A #3AB443
monochromatic
#3E1C57 #5F2B86 #803AB4 #9E60CC #BA8EDB

Accessibility & contrast

On white

6.60
#803AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#803AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AB4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AB4#FFFFFF#000000##FFFFFF
##803AB41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#1C5DB1
Tritanopia (blue-blind)
#785572
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803ab4;
/* rgb */ color: rgb(128, 58, 180);
/* oklch */ color: oklch(50.0% 0.187 307.2);
Tailwind
colors: {
  custom: {
    50: '#a975cb',
    500: '#803ab4',
    950: '#000000',
  },
}
SCSS
$custom: #803ab4;
$custom-light: #a975cb;
$custom-dark: #000000;
JSON
{
  "hex": "#803ab4",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 274.426,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.1872,
    "h": 307.2
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#803AB4
secondary
#A0C585
accent
#DB4D89
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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