#803EB7#803EB7

#803EB7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.185 H 305.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#803EB7
RGBrgb(128, 62, 183)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 66%, 72%)
CMYKcmyk(30.1%, 66.1%, 0%, 28.2%)
CIE-LABlab(40.33, 50.40, -52.93)
CIE-LCHlch(40.33, 73.09, 313.60°)
OKLaboklab(50.77% 0.1084 -0.15)
OKLCHoklch(50.77% 0.185 305.8)
XYZxyz(19.1701, 11.4535, 45.9914)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB7 #75B73E
analogous
#433EB7 #803EB7 #B73EB2
triadic
#803EB7 #B7803E #3EB780
tetradic
#803EB7 #B7433E #75B73E #3EB2B7
square
#803EB7 #B7433E #75B73E #3EB2B7
split-complementary
#803EB7 #B2B73E #3EB743
monochromatic
#401F5C #602F89 #803EB7 #9E67CB #BB94DB

Accessibility & contrast

On white

6.38
#803EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#803EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EB7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EB7#FFFFFF#000000##FFFFFF
##803EB71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#1E5FB4
Tritanopia (blue-blind)
#765875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803eb7;
/* rgb */ color: rgb(128, 62, 183);
/* oklch */ color: oklch(50.8% 0.185 305.8);
Tailwind
colors: {
  custom: {
    50: '#a978cd',
    500: '#803eb7',
    950: '#000000',
  },
}
SCSS
$custom: #803eb7;
$custom-light: #a978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb7",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 272.727,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.18509,
    "h": 305.8
  },
  "luminance": 0.11453
}

Semantic roles & 50–950 ramp

primary
#803EB7
secondary
#A6C68A
accent
#D94F8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #803EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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