#803EB8#803EB8

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

Color values

HEX#803EB8
RGBrgb(128, 62, 184)
HSLhsl(272, 50%, 48%)
HSVhsv(272, 66%, 72%)
CMYKcmyk(30.4%, 66.3%, 0%, 27.8%)
CIE-LABlab(40.40, 50.64, -53.41)
CIE-LCHlch(40.40, 73.60, 313.47°)
OKLaboklab(50.84% 0.1083 -0.1514)
OKLCHoklch(50.84% 0.186 305.6)
XYZxyz(19.2745, 11.4953, 46.5415)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EB8 #76B83E
analogous
#433EB8 #803EB8 #B83EB3
triadic
#803EB8 #B8803E #3EB880
tetradic
#803EB8 #B8433E #76B83E #3EB3B8
square
#803EB8 #B8433E #76B83E #3EB3B8
split-complementary
#803EB8 #B3B83E #3EB843
monochromatic
#401F5C #602F8A #803EB8 #9E67CC #BB95DB

Accessibility & contrast

On white

6.37
#803EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#803EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EB8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EB8#FFFFFF#000000##FFFFFF
##803EB81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#1C5FB5
Tritanopia (blue-blind)
#765876
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #803eb8;
/* rgb */ color: rgb(128, 62, 184);
/* oklch */ color: oklch(50.8% 0.186 305.6);
Tailwind
colors: {
  custom: {
    50: '#a978ce',
    500: '#803eb8',
    950: '#000000',
  },
}
SCSS
$custom: #803eb8;
$custom-light: #a978ce;
$custom-dark: #000000;
JSON
{
  "hex": "#803eb8",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 272.459,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50836,
    "c": 0.18618,
    "h": 305.6
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #803EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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