#803FBE#803FBE

#803FBE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.191 H 303.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#803FBE
RGBrgb(128, 63, 190)
HSLhsl(271, 50%, 50%)
HSVhsv(271, 67%, 75%)
CMYKcmyk(32.6%, 66.8%, 0%, 25.5%)
CIE-LABlab(41.00, 51.58, -55.97)
CIE-LCHlch(41.00, 76.12, 312.66°)
OKLaboklab(51.39% 0.1066 -0.159)
OKLCHoklch(51.39% 0.191 303.8)
XYZxyz(19.9717, 11.8620, 49.9426)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FBE #7DBE3F
analogous
#413FBE #803FBE #BE3FBD
triadic
#803FBE #BE803F #3FBE80
tetradic
#803FBE #BE413F #7DBE3F #3FBDBE
square
#803FBE #BE413F #7DBE3F #3FBDBE
split-complementary
#803FBE #BDBE3F #3FBE41
monochromatic
#422162 #613090 #803FBE #9E6CCE #BC9ADD

Accessibility & contrast

On white

6.23
#803FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#803FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FBE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FBE#FFFFFF#000000##FFFFFF
##803FBE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0F61BB
Tritanopia (blue-blind)
#745B79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803fbe;
/* rgb */ color: rgb(128, 63, 190);
/* oklch */ color: oklch(51.4% 0.191 303.8);
Tailwind
colors: {
  custom: {
    50: '#a978d2',
    500: '#803fbe',
    950: '#000000',
  },
}
SCSS
$custom: #803fbe;
$custom-light: #a978d2;
$custom-dark: #000000;
JSON
{
  "hex": "#803fbe",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 270.709,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.19138,
    "h": 303.8
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #803FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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