#803EA8#803EA8

#803EA8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.169 H 310.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#803EA8
RGBrgb(128, 62, 168)
HSLhsl(277, 46%, 45%)
HSVhsv(277, 63%, 66%)
CMYKcmyk(23.8%, 63.1%, 0%, 34.1%)
CIE-LABlab(39.35, 46.92, -45.64)
CIE-LCHlch(39.35, 65.45, 315.79°)
OKLaboklab(49.74% 0.1093 -0.1286)
OKLCHoklch(49.74% 0.169 310.4)
XYZxyz(17.6912, 10.8620, 38.2028)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA8 #66A83E
analogous
#4B3EA8 #803EA8 #A83E9B
triadic
#803EA8 #A8803E #3EA880
tetradic
#803EA8 #A84B3E #66A83E #3E9BA8
square
#803EA8 #A84B3E #66A83E #3E9BA8
split-complementary
#803EA8 #9BA83E #3EA84B
monochromatic
#3C1D4F #5E2E7B #803EA8 #9E5FC4 #B98CD5

Accessibility & contrast

On white

6.62
#803EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803EA8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EA8#FFFFFF#000000##FFFFFF
##803EA81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5AAB
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#7B536D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803ea8;
/* rgb */ color: rgb(128, 62, 168);
/* oklch */ color: oklch(49.7% 0.169 310.4);
Tailwind
colors: {
  custom: {
    50: '#a877c2',
    500: '#803ea8',
    950: '#000000',
  },
}
SCSS
$custom: #803ea8;
$custom-light: #a877c2;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea8",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 277.358,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.16879,
    "h": 310.4
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#803EA8
secondary
#99BF83
accent
#D65284
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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