#803FB3#803FB3

#803FB3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.179 H 306.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#803FB3
RGBrgb(128, 63, 179)
HSLhsl(274, 48%, 47%)
HSVhsv(274, 65%, 70%)
CMYKcmyk(28.5%, 64.8%, 0%, 29.8%)
CIE-LABlab(40.24, 48.97, -50.72)
CIE-LCHlch(40.24, 70.50, 313.99°)
OKLaboklab(50.61% 0.1076 -0.1435)
OKLCHoklch(50.61% 0.179 306.8)
XYZxyz(18.8146, 11.3991, 43.8482)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803FB3 #72B33F
analogous
#463FB3 #803FB3 #B33FAC
triadic
#803FB3 #B3803F #3FB380
tetradic
#803FB3 #B3463F #72B33F #3FACB3
square
#803FB3 #B3463F #72B33F #3FACB3
split-complementary
#803FB3 #ACB33F #3FB346
monochromatic
#3F1F58 #602F86 #803FB3 #9E66C9 #BA93D9

Accessibility & contrast

On white

6.40
#803FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#803FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803FB3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803FB3#FFFFFF#000000##FFFFFF
##803FB31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#785773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803fb3;
/* rgb */ color: rgb(128, 63, 179);
/* oklch */ color: oklch(50.6% 0.179 306.8);
Tailwind
colors: {
  custom: {
    50: '#a978ca',
    500: '#803fb3',
    950: '#000000',
  },
}
SCSS
$custom: #803fb3;
$custom-light: #a978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#803fb3",
  "rgb": {
    "r": 128,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 273.621,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.17936,
    "h": 306.8
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#803FB3
secondary
#A3C489
accent
#D8508C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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