#803CB8#803CB8

#803CB8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.189 H 305.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#803CB8
RGBrgb(128, 60, 184)
HSLhsl(273, 51%, 48%)
HSVhsv(273, 67%, 72%)
CMYKcmyk(30.4%, 67.4%, 0%, 27.8%)
CIE-LABlab(40.05, 51.61, -53.98)
CIE-LCHlch(40.05, 74.68, 313.72°)
OKLaboklab(50.58% 0.1106 -0.1531)
OKLCHoklch(50.58% 0.189 305.8)
XYZxyz(19.1678, 11.2818, 46.5059)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CB8 #74B83C
analogous
#423CB8 #803CB8 #B83CB2
triadic
#803CB8 #B8803C #3CB880
tetradic
#803CB8 #B8423C #74B83C #3CB2B8
square
#803CB8 #B8423C #74B83C #3CB2B8
split-complementary
#803CB8 #B2B83C #3CB842
monochromatic
#401E5C #602D8A #803CB8 #9E65CD #BB93DC

Accessibility & contrast

On white

6.45
#803CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#803CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CB8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CB8#FFFFFF#000000##FFFFFF
##803CB81.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#765775
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803cb8;
/* rgb */ color: rgb(128, 60, 184);
/* oklch */ color: oklch(50.6% 0.189 305.8);
Tailwind
colors: {
  custom: {
    50: '#a977ce',
    500: '#803cb8',
    950: '#000000',
  },
}
SCSS
$custom: #803cb8;
$custom-light: #a977ce;
$custom-dark: #000000;
JSON
{
  "hex": "#803cb8",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 272.903,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.18883,
    "h": 305.8
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#803CB8
secondary
#A5C789
accent
#DA4D8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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