#803DBE#803DBE

#803DBE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.194 H 304.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#803DBE
RGBrgb(128, 61, 190)
HSLhsl(271, 51%, 49%)
HSVhsv(271, 68%, 75%)
CMYKcmyk(32.6%, 67.9%, 0%, 25.5%)
CIE-LABlab(40.65, 52.55, -56.54)
CIE-LCHlch(40.65, 77.19, 312.91°)
OKLaboklab(51.14% 0.1088 -0.1606)
OKLCHoklch(51.14% 0.194 304.1)
XYZxyz(19.8630, 11.6445, 49.9064)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803DBE #7BBE3D
analogous
#403DBE #803DBE #BE3DBC
triadic
#803DBE #BE803D #3DBE80
tetradic
#803DBE #BE403D #7BBE3D #3DBCBE
square
#803DBE #BE403D #7BBE3D #3DBCBE
split-complementary
#803DBE #BCBE3D #3DBE40
monochromatic
#421F61 #612E90 #803DBE #9E69CF #BC98DE

Accessibility & contrast

On white

6.31
#803DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#803DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #803DBE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803DBE#FFFFFF#000000##FFFFFF
##803DBE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0760BB
Tritanopia (blue-blind)
#745A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #803dbe;
/* rgb */ color: rgb(128, 61, 190);
/* oklch */ color: oklch(51.1% 0.194 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa77d2',
    500: '#803dbe',
    950: '#000000',
  },
}
SCSS
$custom: #803dbe;
$custom-light: #aa77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#803dbe",
  "rgb": {
    "r": 128,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 271.163,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.19398,
    "h": 304.1
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#803DBE
secondary
#AAC98D
accent
#DB4D91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #803DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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