#803CBB#803CBB

#803CBB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.192 H 305.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#803CBB
RGBrgb(128, 60, 187)
HSLhsl(272, 51%, 48%)
HSVhsv(272, 68%, 73%)
CMYKcmyk(31.6%, 67.9%, 0%, 26.7%)
CIE-LABlab(40.26, 52.32, -55.40)
CIE-LCHlch(40.26, 76.20, 313.36°)
OKLaboklab(50.8% 0.1102 -0.1573)
OKLCHoklch(50.8% 0.192 305)
XYZxyz(19.4856, 11.4089, 48.1797)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803CBB #77BB3C
analogous
#403CBB #803CBB #BB3CB6
triadic
#803CBB #BB803C #3CBB80
tetradic
#803CBB #BB403C #77BB3C #3CB6BB
square
#803CBB #BB403C #77BB3C #3CB6BB
split-complementary
#803CBB #B6BB3C #3CBB40
monochromatic
#411E5E #602D8D #803CBB #9E66CE #BB95DD

Accessibility & contrast

On white

6.40
#803CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#803CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803CBB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803CBB#FFFFFF#000000##FFFFFF
##803CBB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0F5FB8
Tritanopia (blue-blind)
#755877
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803cbb;
/* rgb */ color: rgb(128, 60, 187);
/* oklch */ color: oklch(50.8% 0.192 305.0);
Tailwind
colors: {
  custom: {
    50: '#a977d0',
    500: '#803cbb',
    950: '#000000',
  },
}
SCSS
$custom: #803cbb;
$custom-light: #a977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#803cbb",
  "rgb": {
    "r": 128,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 272.126,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.508,
    "c": 0.19204,
    "h": 305
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#803CBB
secondary
#A7C88B
accent
#DB4D8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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