#803FB6#803FB6

#803FB6 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.183 H 306.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#803FB6
RGBrgb(128, 63, 182)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 65%, 71%)
CMYKcmyk(29.7%, 65.4%, 0%, 28.6%)
CIE-LABlab(40.45, 49.67, -52.16)
CIE-LCHlch(40.45, 72.03, 313.60°)
OKLaboklab(50.82% 0.1073 -0.1478)
OKLCHoklch(50.82% 0.183 306)
XYZxyz(19.1213, 11.5218, 45.4635)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FB6 #75B63F
analogous
#443FB6 #803FB6 #B63FB0
triadic
#803FB6 #B6803F #3FB680
tetradic
#803FB6 #B6443F #75B63F #3FB0B6
square
#803FB6 #B6443F #75B63F #3FB0B6
split-complementary
#803FB6 #B0B63F #3FB644
monochromatic
#40205B #602F89 #803FB6 #9E68CB #BB95DA

Accessibility & contrast

On white

6.36
#803FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#803FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FB6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FB6#FFFFFF#000000##FFFFFF
##803FB61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2160B3
Tritanopia (blue-blind)
#775875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803fb6;
/* rgb */ color: rgb(128, 63, 182);
/* oklch */ color: oklch(50.8% 0.183 306.0);
Tailwind
colors: {
  custom: {
    50: '#a978cd',
    500: '#803fb6',
    950: '#000000',
  },
}
SCSS
$custom: #803fb6;
$custom-light: #a978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803fb6",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 272.773,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.18264,
    "h": 306
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#803FB6
secondary
#A6C68B
accent
#D8508E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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