#803DC2#803DC2

#803DC2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.198 H 303.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#803DC2
RGBrgb(128, 61, 194)
HSLhsl(270, 52%, 50%)
HSVhsv(270, 69%, 76%)
CMYKcmyk(34%, 68.6%, 0%, 23.9%)
CIE-LABlab(40.93, 53.51, -58.41)
CIE-LCHlch(40.93, 79.22, 312.49°)
OKLaboklab(51.44% 0.1082 -0.1661)
OKLCHoklch(51.44% 0.198 303.1)
XYZxyz(20.3062, 11.8217, 52.2405)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DC2 #7FC23D
analogous
#3E3DC2 #803DC2 #C23DC1
triadic
#803DC2 #C2803D #3DC280
tetradic
#803DC2 #C23E3D #7FC23D #3DC1C2
square
#803DC2 #C23E3D #7FC23D #3DC1C2
split-complementary
#803DC2 #C1C23D #3DC23E
monochromatic
#432065 #612E93 #803DC2 #9E6CD1 #BD9ADF

Accessibility & contrast

On white

6.24
#803DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#803DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DC2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DC2#FFFFFF#000000##FFFFFF
##803DC21.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#735C7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803dc2;
/* rgb */ color: rgb(128, 61, 194);
/* oklch */ color: oklch(51.4% 0.198 303.1);
Tailwind
colors: {
  custom: {
    50: '#aa77d5',
    500: '#803dc2',
    950: '#000000',
  },
}
SCSS
$custom: #803dc2;
$custom-light: #aa77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#803dc2",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 270.226,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.19828,
    "h": 303.1
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#803DC2
secondary
#ADCB90
accent
#DC4C93
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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