#803FB0#803FB0

#803FB0 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.176 H 307.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#803FB0
RGBrgb(128, 63, 176)
HSLhsl(275, 47%, 47%)
HSVhsv(275, 64%, 69%)
CMYKcmyk(27.3%, 64.2%, 0%, 31%)
CIE-LABlab(40.05, 48.26, -49.27)
CIE-LCHlch(40.05, 68.97, 314.41°)
OKLaboklab(50.41% 0.1078 -0.1393)
OKLCHoklch(50.41% 0.176 307.7)
XYZxyz(18.5145, 11.2790, 42.2676)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FB0 #6FB03F
analogous
#483FB0 #803FB0 #B03FA8
triadic
#803FB0 #B0803F #3FB080
tetradic
#803FB0 #B0483F #6FB03F #3FA8B0
square
#803FB0 #B0483F #6FB03F #3FA8B0
split-complementary
#803FB0 #A8B03F #3FB048
monochromatic
#3E1F56 #5F2F83 #803FB0 #9E65C8 #BA92D8

Accessibility & contrast

On white

6.45
#803FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#803FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FB0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FB0#FFFFFF#000000##FFFFFF
##803FB01.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#795672
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #803fb0;
/* rgb */ color: rgb(128, 63, 176);
/* oklch */ color: oklch(50.4% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#a878c8',
    500: '#803fb0',
    950: '#000000',
  },
}
SCSS
$custom: #803fb0;
$custom-light: #a878c8;
$custom-dark: #000000;
JSON
{
  "hex": "#803fb0",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 274.513,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.17608,
    "h": 307.7
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#803FB0
secondary
#A1C388
accent
#D7518A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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