#803CB2#803CB2

#803CB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.182 H 307.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#803CB2
RGBrgb(128, 60, 178)
HSLhsl(275, 50%, 47%)
HSVhsv(275, 66%, 70%)
CMYKcmyk(28.1%, 66.3%, 0%, 30.2%)
CIE-LABlab(39.64, 50.21, -51.10)
CIE-LCHlch(39.64, 71.64, 314.50°)
OKLaboklab(50.16% 0.1111 -0.1446)
OKLCHoklch(50.16% 0.182 307.5)
XYZxyz(18.5522, 11.0355, 43.2636)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CB2 #6EB23C
analogous
#453CB2 #803CB2 #B23CA9
triadic
#803CB2 #B2803C #3CB280
tetradic
#803CB2 #B2453C #6EB23C #3CA9B2
square
#803CB2 #B2453C #6EB23C #3CA9B2
split-complementary
#803CB2 #A9B23C #3CB245
monochromatic
#3E1D56 #5F2D84 #803CB2 #9E61CA #BA8FD9

Accessibility & contrast

On white

6.55
#803CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#803CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CB2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CB2#FFFFFF#000000##FFFFFF
##803CB21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#785572
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #803cb2;
/* rgb */ color: rgb(128, 60, 178);
/* oklch */ color: oklch(50.2% 0.182 307.5);
Tailwind
colors: {
  custom: {
    50: '#a976ca',
    500: '#803cb2',
    950: '#000000',
  },
}
SCSS
$custom: #803cb2;
$custom-light: #a976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803cb2",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 274.576,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.1824,
    "h": 307.5
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#803CB2
secondary
#A0C486
accent
#D94F89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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