#803DB7#803DB7

#803DB7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.186 H 306.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#803DB7
RGBrgb(128, 61, 183)
HSLhsl(273, 50%, 48%)
HSVhsv(273, 67%, 72%)
CMYKcmyk(30.1%, 66.7%, 0%, 28.2%)
CIE-LABlab(40.16, 50.89, -53.22)
CIE-LCHlch(40.16, 73.64, 313.72°)
OKLaboklab(50.64% 0.1095 -0.1509)
OKLCHoklch(50.64% 0.186 306)
XYZxyz(19.1162, 11.3457, 45.9734)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DB7 #74B73D
analogous
#433DB7 #803DB7 #B73DB1
triadic
#803DB7 #B7803D #3DB780
tetradic
#803DB7 #B7433D #74B73D #3DB1B7
square
#803DB7 #B7433D #74B73D #3DB1B7
split-complementary
#803DB7 #B1B73D #3DB743
monochromatic
#401E5B #602E89 #803DB7 #9E65CC #BB93DB

Accessibility & contrast

On white

6.42
#803DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#803DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DB7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DB7#FFFFFF#000000##FFFFFF
##803DB71.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#1C5FB4
Tritanopia (blue-blind)
#765775
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803db7;
/* rgb */ color: rgb(128, 61, 183);
/* oklch */ color: oklch(50.6% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#a977cd',
    500: '#803db7',
    950: '#000000',
  },
}
SCSS
$custom: #803db7;
$custom-light: #a977cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803db7",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 272.951,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.18643,
    "h": 306
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#803DB7
secondary
#A5C689
accent
#DA4E8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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