#803AC8#803AC8

#803AC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.208 H 302.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#803AC8
RGBrgb(128, 58, 200)
HSLhsl(270, 56%, 51%)
HSVhsv(270, 71%, 78%)
CMYKcmyk(36%, 71%, 0%, 21.6%)
CIE-LABlab(40.87, 56.35, -62.00)
CIE-LCHlch(40.87, 83.78, 312.27°)
OKLaboklab(51.54% 0.1104 -0.1767)
OKLCHoklch(51.54% 0.208 302)
XYZxyz(20.8380, 11.7854, 55.8094)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803AC8 #82C83A
analogous
#3A3BC8 #803AC8 #C73AC8
triadic
#803AC8 #C8803A #3AC880
tetradic
#803AC8 #C83A3B #82C83A #3AC8C7
square
#803AC8 #C83A3B #82C83A #3AC8C7
split-complementary
#803AC8 #C8C73A #3BC83A
monochromatic
#431E6A #622B9A #803AC8 #9F6AD5 #BE9AE3

Accessibility & contrast

On white

6.26
#803AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#803AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803AC8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803AC8#FFFFFF#000000##FFFFFF
##803AC81.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#715C7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803ac8;
/* rgb */ color: rgb(128, 58, 200);
/* oklch */ color: oklch(51.5% 0.208 302.0);
Tailwind
colors: {
  custom: {
    50: '#ab76da',
    500: '#803ac8',
    950: '#000000',
  },
}
SCSS
$custom: #803ac8;
$custom-light: #ab76da;
$custom-dark: #000000;
JSON
{
  "hex": "#803ac8",
  "rgb": {
    "r": 128,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 269.577,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.2083,
    "h": 302
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#803AC8
secondary
#AFCE8F
accent
#E04895
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #803AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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