#803FBA#803FBA

#803FBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.187 H 304.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#803FBA
RGBrgb(128, 63, 186)
HSLhsl(272, 49%, 49%)
HSVhsv(272, 66%, 73%)
CMYKcmyk(31.2%, 66.1%, 0%, 27.1%)
CIE-LABlab(40.72, 50.62, -54.08)
CIE-LCHlch(40.72, 74.08, 313.11°)
OKLaboklab(51.11% 0.107 -0.1534)
OKLCHoklch(51.11% 0.187 304.9)
XYZxyz(19.5405, 11.6895, 47.6717)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FBA #79BA3F
analogous
#423FBA #803FBA #BA3FB7
triadic
#803FBA #BA803F #3FBA80
tetradic
#803FBA #BA423F #79BA3F #3FB7BA
square
#803FBA #BA423F #79BA3F #3FB7BA
split-complementary
#803FBA #B7BA3F #3FBA42
monochromatic
#41205F #61308C #803FBA #9E6ACC #BC97DC

Accessibility & contrast

On white

6.29
#803FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#803FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FBA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FBA#FFFFFF#000000##FFFFFF
##803FBA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#755A77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803fba;
/* rgb */ color: rgb(128, 63, 186);
/* oklch */ color: oklch(51.1% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#a978cf',
    500: '#803fba',
    950: '#000000',
  },
}
SCSS
$custom: #803fba;
$custom-light: #a978cf;
$custom-dark: #000000;
JSON
{
  "hex": "#803fba",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 271.707,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.18701,
    "h": 304.9
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#803FBA
secondary
#A9C88D
accent
#D94F90
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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