#803EA2#803EA2

#803EA2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.162 H 312.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#803EA2
RGBrgb(128, 62, 162)
HSLhsl(280, 45%, 44%)
HSVhsv(280, 62%, 64%)
CMYKcmyk(21%, 61.7%, 0%, 36.5%)
CIE-LABlab(38.97, 45.56, -42.65)
CIE-LCHlch(38.97, 62.40, 316.89°)
OKLaboklab(49.35% 0.1094 -0.1198)
OKLCHoklch(49.35% 0.162 312.4)
XYZxyz(17.1451, 10.6435, 35.3266)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EA2 #60A23E
analogous
#4E3EA2 #803EA2 #A23E92
triadic
#803EA2 #A2803E #3EA280
tetradic
#803EA2 #A24E3E #60A23E #3E92A2
square
#803EA2 #A24E3E #60A23E #3E92A2
split-complementary
#803EA2 #92A23E #3EA24E
monochromatic
#3A1C49 #5D2D76 #803EA2 #9F5CC1 #B989D2

Accessibility & contrast

On white

6.71
#803EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#803EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EA2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EA2#FFFFFF#000000##FFFFFF
##803EA21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#7C506A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #803ea2;
/* rgb */ color: rgb(128, 62, 162);
/* oklch */ color: oklch(49.3% 0.162 312.4);
Tailwind
colors: {
  custom: {
    50: '#a877be',
    500: '#803ea2',
    950: '#000000',
  },
}
SCSS
$custom: #803ea2;
$custom-light: #a877be;
$custom-dark: #000000;
JSON
{
  "hex": "#803ea2",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 279.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.16229,
    "h": 312.4
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#803EA2
secondary
#94BC80
accent
#D4537F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #803EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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