#803EBE#803EBE

#803EBE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.193 H 304.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#803EBE
RGBrgb(128, 62, 190)
HSLhsl(271, 51%, 49%)
HSVhsv(271, 67%, 75%)
CMYKcmyk(32.6%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.82, 52.07, -56.26)
CIE-LCHlch(40.82, 76.66, 312.79°)
OKLaboklab(51.27% 0.1077 -0.1598)
OKLCHoklch(51.27% 0.193 304)
XYZxyz(19.9169, 11.7522, 49.9243)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803EBE #7CBE3E
analogous
#403EBE #803EBE #BE3EBC
triadic
#803EBE #BE803E #3EBE80
tetradic
#803EBE #BE403E #7CBE3E #3EBCBE
square
#803EBE #BE403E #7CBE3E #3EBCBE
split-complementary
#803EBE #BCBE3E #3EBE40
monochromatic
#422062 #612F90 #803EBE #9E6BCF #BC99DE

Accessibility & contrast

On white

6.27
#803EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#803EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803EBE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803EBE#FFFFFF#000000##FFFFFF
##803EBE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0B60BB
Tritanopia (blue-blind)
#745B79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803ebe;
/* rgb */ color: rgb(128, 62, 190);
/* oklch */ color: oklch(51.3% 0.193 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa78d2',
    500: '#803ebe',
    950: '#000000',
  },
}
SCSS
$custom: #803ebe;
$custom-light: #aa78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#803ebe",
  "rgb": {
    "r": 128,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 270.938,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.19268,
    "h": 304
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#803EBE
secondary
#ABC98E
accent
#DA4E92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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