#803AB1#803AB1

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

Color values

HEX#803AB1
RGBrgb(128, 58, 177)
HSLhsl(275, 51%, 46%)
HSVhsv(275, 67%, 69%)
CMYKcmyk(27.7%, 67.2%, 0%, 30.6%)
CIE-LABlab(39.22, 50.94, -51.18)
CIE-LCHlch(39.22, 72.21, 314.87°)
OKLaboklab(49.84% 0.1135 -0.1449)
OKLCHoklch(49.84% 0.184 308.1)
XYZxyz(18.3493, 10.7899, 42.7025)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AB1 #6BB13A
analogous
#443AB1 #803AB1 #B13AA6
triadic
#803AB1 #B1803A #3AB180
tetradic
#803AB1 #B1443A #6BB13A #3AA6B1
square
#803AB1 #B1443A #6BB13A #3AA6B1
split-complementary
#803AB1 #A6B13A #3AB144
monochromatic
#3D1C55 #5F2B83 #803AB1 #9E5ECA #BA8CD9

Accessibility & contrast

On white

6.65
#803AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#803AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AB1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AB1#FFFFFF#000000##FFFFFF
##803AB11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#215DAE
Tritanopia (blue-blind)
#785371
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ab1;
/* rgb */ color: rgb(128, 58, 177);
/* oklch */ color: oklch(49.8% 0.184 308.1);
Tailwind
colors: {
  custom: {
    50: '#a975c9',
    500: '#803ab1',
    950: '#000000',
  },
}
SCSS
$custom: #803ab1;
$custom-light: #a975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#803ab1",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 275.294,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.18403,
    "h": 308.1
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#803AB1
secondary
#9EC483
accent
#DA4E88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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