#803BC1#803BC1

#803BC1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.200 H 303.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#803BC1
RGBrgb(128, 59, 193)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 69%, 76%)
CMYKcmyk(33.7%, 69.4%, 0%, 24.3%)
CIE-LABlab(40.52, 54.22, -58.50)
CIE-LCHlch(40.52, 79.76, 312.83°)
OKLaboklab(51.12% 0.1105 -0.1664)
OKLCHoklch(51.12% 0.2 303.6)
XYZxyz(20.0895, 11.5674, 51.6161)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BC1 #7CC13B
analogous
#3D3BC1 #803BC1 #C13BBF
triadic
#803BC1 #C1803B #3BC180
tetradic
#803BC1 #C13D3B #7CC13B #3BBFC1
square
#803BC1 #C13D3B #7CC13B #3BBFC1
split-complementary
#803BC1 #BFC13B #3BC13D
monochromatic
#421E63 #612D92 #803BC1 #9E68D1 #BC97DF

Accessibility & contrast

On white

6.34
#803BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#803BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BC1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BC1#FFFFFF#000000##FFFFFF
##803BC11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#735A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803bc1;
/* rgb */ color: rgb(128, 59, 193);
/* oklch */ color: oklch(51.1% 0.200 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa76d5',
    500: '#803bc1',
    950: '#000000',
  },
}
SCSS
$custom: #803bc1;
$custom-light: #aa76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#803bc1",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 270.896,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.1997,
    "h": 303.6
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#803BC1
secondary
#ABCB8D
accent
#DD4B92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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