#803DBB#803DBB

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

Color values

HEX#803DBB
RGBrgb(128, 61, 187)
HSLhsl(272, 51%, 49%)
HSVhsv(272, 67%, 73%)
CMYKcmyk(31.6%, 67.4%, 0%, 26.7%)
CIE-LABlab(40.43, 51.84, -55.12)
CIE-LCHlch(40.43, 75.67, 313.24°)
OKLaboklab(50.92% 0.1091 -0.1564)
OKLCHoklch(50.92% 0.191 304.9)
XYZxyz(19.5385, 11.5146, 48.1973)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DBB #78BB3D
analogous
#413DBB #803DBB #BB3DB7
triadic
#803DBB #BB803D #3DBB80
tetradic
#803DBB #BB413D #78BB3D #3DB7BB
square
#803DBB #BB413D #78BB3D #3DB7BB
split-complementary
#803DBB #B7BB3D #3DBB41
monochromatic
#411F5F #602E8D #803DBB #9E68CE #BB96DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803DBB#FFFFFF#000000##FFFFFF
##803DBB1.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)
#005EBF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#755977
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803dbb;
/* rgb */ color: rgb(128, 61, 187);
/* oklch */ color: oklch(50.9% 0.191 304.9);
Tailwind
colors: {
  custom: {
    50: '#a977d0',
    500: '#803dbb',
    950: '#000000',
  },
}
SCSS
$custom: #803dbb;
$custom-light: #a977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#803dbb",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 271.905,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.19074,
    "h": 304.9
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#803DBB
secondary
#A8C88C
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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