#803BB8#803BB8

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

Color values

HEX#803BB8
RGBrgb(128, 59, 184)
HSLhsl(273, 51%, 48%)
HSVhsv(273, 68%, 72%)
CMYKcmyk(30.4%, 67.9%, 0%, 27.8%)
CIE-LABlab(39.88, 52.09, -54.26)
CIE-LCHlch(39.88, 75.22, 313.83°)
OKLaboklab(50.46% 0.1117 -0.1539)
OKLCHoklch(50.46% 0.19 306)
XYZxyz(19.1159, 11.1780, 46.4886)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BB8 #73B83B
analogous
#423BB8 #803BB8 #B83BB1
triadic
#803BB8 #B8803B #3BB880
tetradic
#803BB8 #B8423B #73B83B #3BB1B8
square
#803BB8 #B8423B #73B83B #3BB1B8
split-complementary
#803BB8 #B1B83B #3BB842
monochromatic
#401D5B #602C8A #803BB8 #9E63CD #BB92DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803BB8#FFFFFF#000000##FFFFFF
##803BB81.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)
#005CBC
Deuteranopia (green-blind)
#155EB5
Tritanopia (blue-blind)
#765775
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803bb8;
/* rgb */ color: rgb(128, 59, 184);
/* oklch */ color: oklch(50.5% 0.190 306.0);
Tailwind
colors: {
  custom: {
    50: '#a976ce',
    500: '#803bb8',
    950: '#000000',
  },
}
SCSS
$custom: #803bb8;
$custom-light: #a976ce;
$custom-dark: #000000;
JSON
{
  "hex": "#803bb8",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 273.12,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.19013,
    "h": 306
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#803BB8
secondary
#A4C788
accent
#DB4D8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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