#803EA4#803EA4

#803EA4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.164 H 311.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#803EA4
RGBrgb(128, 62, 164)
HSLhsl(279, 45%, 44%)
HSVhsv(279, 62%, 64%)
CMYKcmyk(22%, 62.2%, 0%, 35.7%)
CIE-LABlab(39.10, 46.01, -43.65)
CIE-LCHlch(39.10, 63.42, 316.51°)
OKLaboklab(49.48% 0.1094 -0.1228)
OKLCHoklch(49.48% 0.164 311.7)
XYZxyz(17.3243, 10.7152, 36.2704)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA4 #62A43E
analogous
#4D3EA4 #803EA4 #A43E95
triadic
#803EA4 #A4803E #3EA480
tetradic
#803EA4 #A44D3E #62A43E #3E95A4
square
#803EA4 #A44D3E #62A43E #3E95A4
split-complementary
#803EA4 #95A43E #3EA44D
monochromatic
#3B1C4B #5D2D78 #803EA4 #9E5DC2 #B98AD3

Accessibility & contrast

On white

6.68
#803EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#803EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EA4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EA4#FFFFFF#000000##FFFFFF
##803EA41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A7
Deuteranopia (green-blind)
#355DA2
Tritanopia (blue-blind)
#7C516B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ea4;
/* rgb */ color: rgb(128, 62, 164);
/* oklch */ color: oklch(49.5% 0.164 311.7);
Tailwind
colors: {
  custom: {
    50: '#a877bf',
    500: '#803ea4',
    950: '#000000',
  },
}
SCSS
$custom: #803ea4;
$custom-light: #a877bf;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea4",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 278.824,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49475,
    "c": 0.16446,
    "h": 311.7
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#803EA4
secondary
#96BD81
accent
#D55381
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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