#803EB6#803EB6

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

Color values

HEX#803EB6
RGBrgb(128, 62, 182)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 66%, 71%)
CMYKcmyk(29.7%, 65.9%, 0%, 28.6%)
CIE-LABlab(40.27, 50.17, -52.45)
CIE-LCHlch(40.27, 72.58, 313.72°)
OKLaboklab(50.69% 0.1085 -0.1486)
OKLCHoklch(50.69% 0.184 306.1)
XYZxyz(19.0664, 11.4120, 45.4452)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB6 #74B63E
analogous
#443EB6 #803EB6 #B63EB0
triadic
#803EB6 #B6803E #3EB680
tetradic
#803EB6 #B6443E #74B63E #3EB0B6
square
#803EB6 #B6443E #74B63E #3EB0B6
split-complementary
#803EB6 #B0B63E #3EB644
monochromatic
#401F5B #602E88 #803EB6 #9E66CB #BB94DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803EB6#FFFFFF#000000##FFFFFF
##803EB61.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)
#005DBA
Deuteranopia (green-blind)
#205FB3
Tritanopia (blue-blind)
#775875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803eb6;
/* rgb */ color: rgb(128, 62, 182);
/* oklch */ color: oklch(50.7% 0.184 306.1);
Tailwind
colors: {
  custom: {
    50: '#a978cd',
    500: '#803eb6',
    950: '#000000',
  },
}
SCSS
$custom: #803eb6;
$custom-light: #a978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb6",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 273,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.18401,
    "h": 306.1
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

primary
#803EB6
secondary
#A5C68A
accent
#D94F8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #803EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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