#803FBD#803FBD

#803FBD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.190 H 304.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#803FBD
RGBrgb(128, 63, 189)
HSLhsl(271, 50%, 49%)
HSVhsv(271, 67%, 74%)
CMYKcmyk(32.3%, 66.7%, 0%, 25.9%)
CIE-LABlab(40.93, 51.34, -55.50)
CIE-LCHlch(40.93, 75.61, 312.77°)
OKLaboklab(51.32% 0.1067 -0.1576)
OKLCHoklch(51.32% 0.19 304.1)
XYZxyz(19.8628, 11.8184, 49.3690)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FBD #7CBD3F
analogous
#413FBD #803FBD #BD3FBB
triadic
#803FBD #BD803F #3FBD80
tetradic
#803FBD #BD413F #7CBD3F #3FBBBD
square
#803FBD #BD413F #7CBD3F #3FBBBD
split-complementary
#803FBD #BBBD3F #3FBD41
monochromatic
#422061 #61308F #803FBD #9E6BCE #BC99DD

Accessibility & contrast

On white

6.24
#803FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#803FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FBD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FBD#FFFFFF#000000##FFFFFF
##803FBD1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#745B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803fbd;
/* rgb */ color: rgb(128, 63, 189);
/* oklch */ color: oklch(51.3% 0.190 304.1);
Tailwind
colors: {
  custom: {
    50: '#a978d2',
    500: '#803fbd',
    950: '#000000',
  },
}
SCSS
$custom: #803fbd;
$custom-light: #a978d2;
$custom-dark: #000000;
JSON
{
  "hex": "#803fbd",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 270.952,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.19029,
    "h": 304.1
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#803FBD
secondary
#ABC98F
accent
#DA4E92
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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