#803EAC#803EAC

#803EAC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.173 H 309.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#803EAC
RGBrgb(128, 62, 172)
HSLhsl(276, 47%, 46%)
HSVhsv(276, 64%, 67%)
CMYKcmyk(25.6%, 64%, 0%, 32.5%)
CIE-LABlab(39.60, 47.83, -47.61)
CIE-LCHlch(39.60, 67.49, 315.14°)
OKLaboklab(50% 0.1092 -0.1344)
OKLCHoklch(50% 0.173 309.1)
XYZxyz(18.0696, 11.0133, 40.1956)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EAC #6AAC3E
analogous
#493EAC #803EAC #AC3EA1
triadic
#803EAC #AC803E #3EAC80
tetradic
#803EAC #AC493E #6AAC3E #3EA1AC
square
#803EAC #AC493E #6AAC3E #3EA1AC
split-complementary
#803EAC #A1AC3E #3EAC49
monochromatic
#3D1E52 #5F2E7F #803EAC #9E61C6 #B98ED6

Accessibility & contrast

On white

6.56
#803EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#803EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EAC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EAC#FFFFFF#000000##FFFFFF
##803EAC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#7A546F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803eac;
/* rgb */ color: rgb(128, 62, 172);
/* oklch */ color: oklch(50.0% 0.173 309.1);
Tailwind
colors: {
  custom: {
    50: '#a877c5',
    500: '#803eac',
    950: '#000000',
  },
}
SCSS
$custom: #803eac;
$custom-light: #a877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#803eac",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 276,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.17313,
    "h": 309.1
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#803EAC
secondary
#9DC185
accent
#D75187
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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