#803DB3#803DB3

#803DB3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.182 H 307.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#803DB3
RGBrgb(128, 61, 179)
HSLhsl(274, 49%, 47%)
HSVhsv(274, 66%, 70%)
CMYKcmyk(28.5%, 65.9%, 0%, 29.8%)
CIE-LABlab(39.88, 49.95, -51.30)
CIE-LCHlch(39.88, 71.60, 314.24°)
OKLaboklab(50.36% 0.1099 -0.1452)
OKLCHoklch(50.36% 0.182 307.1)
XYZxyz(18.7058, 11.1816, 43.8119)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DB3 #70B33D
analogous
#453DB3 #803DB3 #B33DAB
triadic
#803DB3 #B3803D #3DB380
tetradic
#803DB3 #B3453D #70B33D #3DABB3
square
#803DB3 #B3453D #70B33D #3DABB3
split-complementary
#803DB3 #ABB33D #3DB345
monochromatic
#3F1E58 #5F2D85 #803DB3 #9E63CA #BA91D9

Accessibility & contrast

On white

6.49
#803DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#803DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DB3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DB3#FFFFFF#000000##FFFFFF
##803DB31.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#235FB0
Tritanopia (blue-blind)
#785673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803db3;
/* rgb */ color: rgb(128, 61, 179);
/* oklch */ color: oklch(50.4% 0.182 307.1);
Tailwind
colors: {
  custom: {
    50: '#a977ca',
    500: '#803db3',
    950: '#000000',
  },
}
SCSS
$custom: #803db3;
$custom-light: #a977ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803db3",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 274.068,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.18211,
    "h": 307.1
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#803DB3
secondary
#A2C587
accent
#D94F8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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