#803CB6#803CB6

#803CB6 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.187 H 306.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#803CB6
RGBrgb(128, 60, 182)
HSLhsl(273, 50%, 47%)
HSVhsv(273, 67%, 71%)
CMYKcmyk(29.7%, 67%, 0%, 28.6%)
CIE-LABlab(39.91, 51.14, -53.02)
CIE-LCHlch(39.91, 73.67, 313.97°)
OKLaboklab(50.44% 0.1108 -0.1503)
OKLCHoklch(50.44% 0.187 306.4)
XYZxyz(18.9596, 11.1985, 45.4096)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CB6 #72B63C
analogous
#433CB6 #803CB6 #B63CAF
triadic
#803CB6 #B6803C #3CB680
tetradic
#803CB6 #B6433C #72B63C #3CAFB6
square
#803CB6 #B6433C #72B63C #3CAFB6
split-complementary
#803CB6 #AFB63C #3CB643
monochromatic
#3F1E5A #602D88 #803CB6 #9E63CC #BA91DB

Accessibility & contrast

On white

6.48
#803CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#803CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CB6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CB6#FFFFFF#000000##FFFFFF
##803CB61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#1C5EB3
Tritanopia (blue-blind)
#775774
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803cb6;
/* rgb */ color: rgb(128, 60, 182);
/* oklch */ color: oklch(50.4% 0.187 306.4);
Tailwind
colors: {
  custom: {
    50: '#a976cd',
    500: '#803cb6',
    950: '#000000',
  },
}
SCSS
$custom: #803cb6;
$custom-light: #a976cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803cb6",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 273.443,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.18669,
    "h": 306.4
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#803CB6
secondary
#A3C688
accent
#DA4E8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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