#803EAF#803EAF

#803EAF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.176 H 308.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#803EAF
RGBrgb(128, 62, 175)
HSLhsl(275, 48%, 46%)
HSVhsv(275, 65%, 69%)
CMYKcmyk(26.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(39.80, 48.53, -49.07)
CIE-LCHlch(39.80, 69.01, 314.68°)
OKLaboklab(50.21% 0.109 -0.1387)
OKLCHoklch(50.21% 0.176 308.2)
XYZxyz(18.3610, 11.1299, 41.7301)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EAF #6DAF3E
analogous
#483EAF #803EAF #AF3EA6
triadic
#803EAF #AF803E #3EAF80
tetradic
#803EAF #AF483E #6DAF3E #3EA6AF
square
#803EAF #AF483E #6DAF3E #3EA6AF
split-complementary
#803EAF #A6AF3E #3EAF48
monochromatic
#3E1E55 #5F2E82 #803EAF #9E63C8 #BA90D8

Accessibility & contrast

On white

6.51
#803EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#803EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EAF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EAF#FFFFFF#000000##FFFFFF
##803EAF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#2A5FAC
Tritanopia (blue-blind)
#795571
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803eaf;
/* rgb */ color: rgb(128, 62, 175);
/* oklch */ color: oklch(50.2% 0.176 308.2);
Tailwind
colors: {
  custom: {
    50: '#a877c7',
    500: '#803eaf',
    950: '#000000',
  },
}
SCSS
$custom: #803eaf;
$custom-light: #a877c7;
$custom-dark: #000000;
JSON
{
  "hex": "#803eaf",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 275.044,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.17639,
    "h": 308.2
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#803EAF
secondary
#9FC386
accent
#D75189
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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