#803DB9#803DB9

#803DB9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.189 H 305.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#803DB9
RGBrgb(128, 61, 185)
HSLhsl(272, 50%, 48%)
HSVhsv(272, 67%, 73%)
CMYKcmyk(30.8%, 67%, 0%, 27.5%)
CIE-LABlab(40.29, 51.37, -54.17)
CIE-LCHlch(40.29, 74.65, 313.48°)
OKLaboklab(50.78% 0.1093 -0.1537)
OKLCHoklch(50.78% 0.189 305.4)
XYZxyz(19.3259, 11.4296, 47.0776)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DB9 #76B93D
analogous
#423DB9 #803DB9 #B93DB4
triadic
#803DB9 #B9803D #3DB980
tetradic
#803DB9 #B9423D #76B93D #3DB4B9
square
#803DB9 #B9423D #76B93D #3DB4B9
split-complementary
#803DB9 #B4B93D #3DB942
monochromatic
#401F5D #602E8B #803DB9 #9E66CD #BB95DC

Accessibility & contrast

On white

6.39
#803DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#803DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DB9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DB9#FFFFFF#000000##FFFFFF
##803DB91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#185FB6
Tritanopia (blue-blind)
#765876
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803db9;
/* rgb */ color: rgb(128, 61, 185);
/* oklch */ color: oklch(50.8% 0.189 305.4);
Tailwind
colors: {
  custom: {
    50: '#a977cf',
    500: '#803db9',
    950: '#000000',
  },
}
SCSS
$custom: #803db9;
$custom-light: #a977cf;
$custom-dark: #000000;
JSON
{
  "hex": "#803db9",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 272.419,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.18859,
    "h": 305.4
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#803DB9
secondary
#A6C78B
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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