#803FBF#803FBF

#803FBF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.192 H 303.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#803FBF
RGBrgb(128, 63, 191)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(33%, 67%, 0%, 25.1%)
CIE-LABlab(41.07, 51.82, -56.44)
CIE-LCHlch(41.07, 76.63, 312.56°)
OKLaboklab(51.47% 0.1065 -0.1603)
OKLCHoklch(51.47% 0.192 303.6)
XYZxyz(20.0814, 11.9058, 50.5202)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FBF #7EBF3F
analogous
#403FBF #803FBF #BF3FBE
triadic
#803FBF #BF803F #3FBF80
tetradic
#803FBF #BF403F #7EBF3F #3FBEBF
square
#803FBF #BF403F #7EBF3F #3FBEBF
split-complementary
#803FBF #BEBF3F #3FBF40
monochromatic
#422163 #613091 #803FBF #9E6DCF #BD9BDE

Accessibility & contrast

On white

6.21
#803FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#803FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FBF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FBF#FFFFFF#000000##FFFFFF
##803FBF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0B61BC
Tritanopia (blue-blind)
#745C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #803fbf;
/* rgb */ color: rgb(128, 63, 191);
/* oklch */ color: oklch(51.5% 0.192 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa78d3',
    500: '#803fbf',
    950: '#000000',
  },
}
SCSS
$custom: #803fbf;
$custom-light: #aa78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#803fbf",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 270.469,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.19247,
    "h": 303.6
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#803FBF
secondary
#ACCA90
accent
#DA4E93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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