#803FB7#803FB7

#803FB7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.184 H 305.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#803FB7
RGBrgb(128, 63, 183)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 66%, 72%)
CMYKcmyk(30.1%, 65.6%, 0%, 28.2%)
CIE-LABlab(40.51, 49.91, -52.64)
CIE-LCHlch(40.51, 72.54, 313.47°)
OKLaboklab(50.89% 0.1073 -0.1492)
OKLCHoklch(50.89% 0.184 305.7)
XYZxyz(19.2250, 11.5633, 46.0097)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FB7 #76B73F
analogous
#443FB7 #803FB7 #B73FB2
triadic
#803FB7 #B7803F #3FB780
tetradic
#803FB7 #B7443F #76B73F #3FB2B7
square
#803FB7 #B7443F #76B73F #3FB2B7
split-complementary
#803FB7 #B2B73F #3FB744
monochromatic
#40205C #602F89 #803FB7 #9E68CB #BB96DB

Accessibility & contrast

On white

6.34
#803FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#803FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FB7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FB7#FFFFFF#000000##FFFFFF
##803FB71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2060B4
Tritanopia (blue-blind)
#765975
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803fb7;
/* rgb */ color: rgb(128, 63, 183);
/* oklch */ color: oklch(50.9% 0.184 305.7);
Tailwind
colors: {
  custom: {
    50: '#a978cd',
    500: '#803fb7',
    950: '#000000',
  },
}
SCSS
$custom: #803fb7;
$custom-light: #a978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803fb7",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 272.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.18374,
    "h": 305.7
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#803FB7
secondary
#A6C68B
accent
#D84F8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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