#803CBD#803CBD

#803CBD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.194 H 304.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#803CBD
RGBrgb(128, 60, 189)
HSLhsl(272, 52%, 49%)
HSVhsv(272, 68%, 74%)
CMYKcmyk(32.3%, 68.3%, 0%, 25.9%)
CIE-LABlab(40.40, 52.79, -56.35)
CIE-LCHlch(40.40, 77.22, 313.14°)
OKLaboklab(50.95% 0.11 -0.16)
OKLCHoklch(50.95% 0.194 304.5)
XYZxyz(19.7012, 11.4951, 49.3151)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CBD #79BD3C
analogous
#403CBD #803CBD #BD3CBA
triadic
#803CBD #BD803C #3CBD80
tetradic
#803CBD #BD403C #79BD3C #3CBABD
square
#803CBD #BD403C #79BD3C #3CBABD
split-complementary
#803CBD #BABD3C #3CBD40
monochromatic
#411F60 #612D8F #803CBD #9E67CF #BC96DE

Accessibility & contrast

On white

6.37
#803CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#803CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CBD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CBD#FFFFFF#000000##FFFFFF
##803CBD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#755978
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803cbd;
/* rgb */ color: rgb(128, 60, 189);
/* oklch */ color: oklch(50.9% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#aa77d2',
    500: '#803cbd',
    950: '#000000',
  },
}
SCSS
$custom: #803cbd;
$custom-light: #aa77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#803cbd",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 271.628,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.19418,
    "h": 304.5
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#803CBD
secondary
#A9C98C
accent
#DB4D90
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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