#803191#803191

#803191 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 320.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#803191
RGBrgb(128, 49, 145)
HSLhsl(289, 49%, 38%)
HSVhsv(289, 66%, 57%)
CMYKcmyk(11.7%, 66.2%, 0%, 43.1%)
CIE-LABlab(35.66, 48.21, -37.65)
CIE-LCHlch(35.66, 61.17, 322.01°)
OKLaboklab(46.61% 0.1258 -0.1052)
OKLCHoklch(46.61% 0.164 320.1)
XYZxyz(15.1106, 8.8309, 27.6912)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803191 #429131
analogous
#503191 #803191 #913172
triadic
#803191 #918031 #319180
tetradic
#803191 #915031 #429131 #317291
square
#803191 #915031 #429131 #317291
split-complementary
#803191 #729131 #319150
monochromatic
#2F1236 #582263 #803191 #A841BF #BD6ECE

Accessibility & contrast

On white

7.59
#803191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#803191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803191
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803191#FFFFFF#000000##FFFFFF
##8031911.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#39578F
Tritanopia (blue-blind)
#81415D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #803191;
/* rgb */ color: rgb(128, 49, 145);
/* oklch */ color: oklch(46.6% 0.164 320.1);
Tailwind
colors: {
  custom: {
    50: '#a86fb2',
    500: '#803191',
    950: '#000000',
  },
}
SCSS
$custom: #803191;
$custom-light: #a86fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#803191",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 289.375,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.16393,
    "h": 320.1
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#803191
secondary
#76B668
accent
#D94F67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803191

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

Preview Lab → · Contrast checker → · Palette generator →

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