#803291#803291

#803291 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 320.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#803291
RGBrgb(128, 50, 145)
HSLhsl(289, 49%, 38%)
HSVhsv(289, 66%, 57%)
CMYKcmyk(11.7%, 65.5%, 0%, 43.1%)
CIE-LABlab(35.82, 47.75, -37.39)
CIE-LCHlch(35.82, 60.65, 321.94°)
OKLaboklab(46.73% 0.1246 -0.1044)
OKLCHoklch(46.73% 0.163 320)
XYZxyz(15.1529, 8.9154, 27.7053)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803291 #439132
analogous
#503291 #803291 #913272
triadic
#803291 #918032 #329180
tetradic
#803291 #915032 #439132 #327291
square
#803291 #915032 #439132 #327291
split-complementary
#803291 #729132 #329150
monochromatic
#301336 #582263 #803291 #A842BE #BD70CE

Accessibility & contrast

On white

7.55
#803291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#803291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803291
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803291#FFFFFF#000000##FFFFFF
##8032911.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#3A578F
Tritanopia (blue-blind)
#81425D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #803291;
/* rgb */ color: rgb(128, 50, 145);
/* oklch */ color: oklch(46.7% 0.163 320.0);
Tailwind
colors: {
  custom: {
    50: '#a870b2',
    500: '#803291',
    950: '#000000',
  },
}
SCSS
$custom: #803291;
$custom-light: #a870b2;
$custom-dark: #000000;
JSON
{
  "hex": "#803291",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 289.263,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.16252,
    "h": 320
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#803291
secondary
#77B569
accent
#D85068
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803291

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

Preview Lab → · Contrast checker → · Palette generator →

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