#803AD2#803AD2

#803AD2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.219 H 299.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#803AD2
RGBrgb(128, 58, 210)
HSLhsl(268, 63%, 53%)
HSVhsv(268, 72%, 82%)
CMYKcmyk(39%, 72.4%, 0%, 17.6%)
CIE-LABlab(41.64, 58.76, -66.54)
CIE-LCHlch(41.64, 88.77, 311.45°)
OKLaboklab(52.32% 0.1085 -0.19)
OKLCHoklch(52.32% 0.219 299.7)
XYZxyz(22.0451, 12.2682, 62.1668)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AD2 #8CD23A
analogous
#3A40D2 #803AD2 #CC3AD2
triadic
#803AD2 #D2803A #3AD280
tetradic
#803AD2 #D23A40 #8CD23A #3AD2CC
square
#803AD2 #D23A40 #8CD23A #3AD2CC
split-complementary
#803AD2 #D2CC3A #40D23A
monochromatic
#451B77 #6226A8 #803AD2 #A06CDD #C09EE9

Accessibility & contrast

On white

6.08
#803AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#803AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AD2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AD2#FFFFFF#000000##FFFFFF
##803AD21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#6D6083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #803ad2;
/* rgb */ color: rgb(128, 58, 210);
/* oklch */ color: oklch(52.3% 0.219 299.7);
Tailwind
colors: {
  custom: {
    50: '#ab76e1',
    500: '#803ad2',
    950: '#000000',
  },
}
SCSS
$custom: #803ad2;
$custom-light: #ab76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#803ad2",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 267.632,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.21878,
    "h": 299.7
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#803AD2
secondary
#B7D593
accent
#E6429A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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