#803EB4#803EB4

#803EB4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.182 H 306.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#803EB4
RGBrgb(128, 62, 180)
HSLhsl(274, 49%, 47%)
HSVhsv(274, 66%, 71%)
CMYKcmyk(28.9%, 65.6%, 0%, 29.4%)
CIE-LABlab(40.13, 49.70, -51.49)
CIE-LCHlch(40.13, 71.56, 313.98°)
OKLaboklab(50.55% 0.1087 -0.1458)
OKLCHoklch(50.55% 0.182 306.7)
XYZxyz(18.8612, 11.3299, 44.3644)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB4 #72B43E
analogous
#453EB4 #803EB4 #B43EAD
triadic
#803EB4 #B4803E #3EB480
tetradic
#803EB4 #B4453E #72B43E #3EADB4
square
#803EB4 #B4453E #72B43E #3EADB4
split-complementary
#803EB4 #ADB43E #3EB445
monochromatic
#3F1F59 #602E86 #803EB4 #9E65CA #BA93DA

Accessibility & contrast

On white

6.43
#803EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#803EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EB4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EB4#FFFFFF#000000##FFFFFF
##803EB41.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#775773
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803eb4;
/* rgb */ color: rgb(128, 62, 180);
/* oklch */ color: oklch(50.6% 0.182 306.7);
Tailwind
colors: {
  custom: {
    50: '#a978cb',
    500: '#803eb4',
    950: '#000000',
  },
}
SCSS
$custom: #803eb4;
$custom-light: #a978cb;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb4",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 273.559,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.18183,
    "h": 306.7
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#803EB4
secondary
#A3C589
accent
#D84F8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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