#803BC2#803BC2

#803BC2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.201 H 303.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#803BC2
RGBrgb(128, 59, 194)
HSLhsl(271, 53%, 50%)
HSVhsv(271, 70%, 76%)
CMYKcmyk(34%, 69.6%, 0%, 23.9%)
CIE-LABlab(40.59, 54.45, -58.96)
CIE-LCHlch(40.59, 80.26, 312.72°)
OKLaboklab(51.2% 0.1103 -0.1677)
OKLCHoklch(51.2% 0.201 303.3)
XYZxyz(20.2014, 11.6122, 52.2056)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803BC2 #7DC23B
analogous
#3D3BC2 #803BC2 #C23BC1
triadic
#803BC2 #C2803B #3BC280
tetradic
#803BC2 #C23D3B #7DC23B #3BC1C2
square
#803BC2 #C23D3B #7DC23B #3BC1C2
split-complementary
#803BC2 #C1C23B #3BC23D
monochromatic
#421E64 #612D93 #803BC2 #9E69D1 #BC98E0

Accessibility & contrast

On white

6.32
#803BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#803BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803BC2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803BC2#FFFFFF#000000##FFFFFF
##803BC21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#735A7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803bc2;
/* rgb */ color: rgb(128, 59, 194);
/* oklch */ color: oklch(51.2% 0.201 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa76d5',
    500: '#803bc2',
    950: '#000000',
  },
}
SCSS
$custom: #803bc2;
$custom-light: #aa76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#803bc2",
  "rgb": {
    "r": 128,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 270.667,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.20076,
    "h": 303.3
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#803BC2
secondary
#ACCB8E
accent
#DD4B92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #803BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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