#803FBB#803FBB

#803FBB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.188 H 304.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#803FBB
RGBrgb(128, 63, 187)
HSLhsl(271, 50%, 49%)
HSVhsv(271, 66%, 73%)
CMYKcmyk(31.6%, 66.3%, 0%, 26.7%)
CIE-LABlab(40.79, 50.86, -54.55)
CIE-LCHlch(40.79, 74.59, 313.00°)
OKLaboklab(51.18% 0.1069 -0.1548)
OKLCHoklch(51.18% 0.188 304.6)
XYZxyz(19.6472, 11.7322, 48.2336)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FBB #7ABB3F
analogous
#423FBB #803FBB #BB3FB8
triadic
#803FBB #BB803F #3FBB80
tetradic
#803FBB #BB423F #7ABB3F #3FB8BB
square
#803FBB #BB423F #7ABB3F #3FB8BB
split-complementary
#803FBB #B8BB3F #3FBB42
monochromatic
#41205F #61308D #803FBB #9E6ACD #BC98DC

Accessibility & contrast

On white

6.28
#803FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#803FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FBB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FBB#FFFFFF#000000##FFFFFF
##803FBB1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#755A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803fbb;
/* rgb */ color: rgb(128, 63, 187);
/* oklch */ color: oklch(51.2% 0.188 304.6);
Tailwind
colors: {
  custom: {
    50: '#a978d0',
    500: '#803fbb',
    950: '#000000',
  },
}
SCSS
$custom: #803fbb;
$custom-light: #a978d0;
$custom-dark: #000000;
JSON
{
  "hex": "#803fbb",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 271.452,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.18811,
    "h": 304.6
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#803FBB
secondary
#A9C88E
accent
#D94F91
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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