#803EA7#803EA7

#803EA7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.168 H 310.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#803EA7
RGBrgb(128, 62, 167)
HSLhsl(278, 46%, 45%)
HSVhsv(278, 63%, 65%)
CMYKcmyk(23.4%, 62.9%, 0%, 34.5%)
CIE-LABlab(39.28, 46.69, -45.14)
CIE-LCHlch(39.28, 64.94, 315.97°)
OKLaboklab(49.67% 0.1094 -0.1272)
OKLCHoklch(49.67% 0.168 310.7)
XYZxyz(17.5984, 10.8248, 37.7141)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA7 #65A73E
analogous
#4B3EA7 #803EA7 #A73E9A
triadic
#803EA7 #A7803E #3EA780
tetradic
#803EA7 #A74B3E #65A73E #3E9AA7
square
#803EA7 #A74B3E #65A73E #3E9AA7
split-complementary
#803EA7 #9AA73E #3EA74B
monochromatic
#3C1D4E #5E2D7A #803EA7 #9E5FC3 #B98BD4

Accessibility & contrast

On white

6.64
#803EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803EA7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EA7#FFFFFF#000000##FFFFFF
##803EA71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E59AA
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#7B526D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803ea7;
/* rgb */ color: rgb(128, 62, 167);
/* oklch */ color: oklch(49.7% 0.168 310.7);
Tailwind
colors: {
  custom: {
    50: '#a877c2',
    500: '#803ea7',
    950: '#000000',
  },
}
SCSS
$custom: #803ea7;
$custom-light: #a877c2;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea7",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 277.714,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.1677,
    "h": 310.7
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#803EA7
secondary
#99BF82
accent
#D65283
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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