#803188#803188

#803188 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.155 H 323.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#803188
RGBrgb(128, 49, 136)
HSLhsl(294, 47%, 36%)
HSVhsv(294, 64%, 53%)
CMYKcmyk(5.9%, 64%, 0%, 46.7%)
CIE-LABlab(35.13, 46.43, -32.96)
CIE-LCHlch(35.13, 56.93, 324.63°)
OKLaboklab(46.06% 0.1256 -0.0915)
OKLCHoklch(46.06% 0.155 323.9)
XYZxyz(14.4439, 8.5642, 24.1800)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803188 #398831
analogous
#553188 #803188 #883165
triadic
#803188 #888031 #318880
tetradic
#803188 #885531 #398831 #316588
square
#803188 #885531 #398831 #316588
split-complementary
#803188 #658831 #318855
monochromatic
#2B112E #56215B #803188 #AA41B5 #C16AC9

Accessibility & contrast

On white

7.74
#803188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#803188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803188
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803188#FFFFFF#000000##FFFFFF
##8031881.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8B
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#823E58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #803188;
/* rgb */ color: rgb(128, 49, 136);
/* oklch */ color: oklch(46.1% 0.155 323.9);
Tailwind
colors: {
  custom: {
    50: '#a76fab',
    500: '#803188',
    950: '#000000',
  },
}
SCSS
$custom: #803188;
$custom-light: #a76fab;
$custom-dark: #000000;
JSON
{
  "hex": "#803188",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 294.483,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46063,
    "c": 0.15537,
    "h": 323.9
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#803188
secondary
#6BB164
accent
#D7515D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803188

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

Preview Lab → · Contrast checker → · Palette generator →

#803188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva