#803AB2#803AB2

#803AB2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.185 H 307.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#803AB2
RGBrgb(128, 58, 178)
HSLhsl(275, 51%, 46%)
HSVhsv(275, 67%, 70%)
CMYKcmyk(28.1%, 67.4%, 0%, 30.2%)
CIE-LABlab(39.29, 51.17, -51.66)
CIE-LCHlch(39.29, 72.72, 314.73°)
OKLaboklab(49.91% 0.1134 -0.1463)
OKLCHoklch(49.91% 0.185 307.8)
XYZxyz(18.4494, 10.8299, 43.2293)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AB2 #6CB23A
analogous
#443AB2 #803AB2 #B23AA8
triadic
#803AB2 #B2803A #3AB280
tetradic
#803AB2 #B2443A #6CB23A #3AA8B2
square
#803AB2 #B2443A #6CB23A #3AA8B2
split-complementary
#803AB2 #A8B23A #3AB244
monochromatic
#3E1C56 #5F2B84 #803AB2 #9E5FCB #BA8DDA

Accessibility & contrast

On white

6.63
#803AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803AB2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AB2#FFFFFF#000000##FFFFFF
##803AB21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#205DAF
Tritanopia (blue-blind)
#785471
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803ab2;
/* rgb */ color: rgb(128, 58, 178);
/* oklch */ color: oklch(49.9% 0.185 307.8);
Tailwind
colors: {
  custom: {
    50: '#a975ca',
    500: '#803ab2',
    950: '#000000',
  },
}
SCSS
$custom: #803ab2;
$custom-light: #a975ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803ab2",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 275,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.18508,
    "h": 307.8
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #803AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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