#803BC4#803BC4

#803BC4 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.203 H 302.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#803BC4
RGBrgb(128, 59, 196)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 70%, 77%)
CMYKcmyk(34.7%, 69.9%, 0%, 23.1%)
CIE-LABlab(40.74, 54.93, -59.89)
CIE-LCHlch(40.74, 81.27, 312.53°)
OKLaboklab(51.35% 0.11 -0.1705)
OKLCHoklch(51.35% 0.203 302.8)
XYZxyz(20.4275, 11.7026, 53.3965)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BC4 #7FC43B
analogous
#3C3BC4 #803BC4 #C43BC3
triadic
#803BC4 #C4803B #3BC480
tetradic
#803BC4 #C43C3B #7FC43B #3BC3C4
square
#803BC4 #C43C3B #7FC43B #3BC3C4
split-complementary
#803BC4 #C3C43B #3BC43C
monochromatic
#431F66 #612D95 #803BC4 #9E6AD2 #BD99E0

Accessibility & contrast

On white

6.29
#803BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#803BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BC4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BC4#FFFFFF#000000##FFFFFF
##803BC41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#725B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803bc4;
/* rgb */ color: rgb(128, 59, 196);
/* oklch */ color: oklch(51.3% 0.203 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa76d7',
    500: '#803bc4',
    950: '#000000',
  },
}
SCSS
$custom: #803bc4;
$custom-light: #aa76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#803bc4",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 270.219,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.20288,
    "h": 302.8
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#803BC4
secondary
#ADCC8F
accent
#DD4B93
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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