#803CBE#803CBE

#803CBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.195 H 304.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#803CBE
RGBrgb(128, 60, 190)
HSLhsl(271, 52%, 49%)
HSVhsv(271, 68%, 75%)
CMYKcmyk(32.6%, 68.4%, 0%, 25.5%)
CIE-LABlab(40.47, 53.03, -56.82)
CIE-LCHlch(40.47, 77.72, 313.03°)
OKLaboklab(51.02% 0.1098 -0.1614)
OKLCHoklch(51.02% 0.195 304.2)
XYZxyz(19.8101, 11.5387, 49.8888)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CBE #7ABE3C
analogous
#3F3CBE #803CBE #BE3CBB
triadic
#803CBE #BE803C #3CBE80
tetradic
#803CBE #BE3F3C #7ABE3C #3CBBBE
square
#803CBE #BE3F3C #7ABE3C #3CBBBE
split-complementary
#803CBE #BBBE3C #3CBE3F
monochromatic
#411F61 #612D8F #803CBE #9E68CF #BC96DE

Accessibility & contrast

On white

6.35
#803CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #803CBE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CBE#FFFFFF#000000##FFFFFF
##803CBE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#745A78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803cbe;
/* rgb */ color: rgb(128, 60, 190);
/* oklch */ color: oklch(51.0% 0.195 304.2);
Tailwind
colors: {
  custom: {
    50: '#aa77d2',
    500: '#803cbe',
    950: '#000000',
  },
}
SCSS
$custom: #803cbe;
$custom-light: #aa77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#803cbe",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 271.385,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.19525,
    "h": 304.2
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#803CBE
secondary
#A9CA8C
accent
#DB4C91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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