#803286#803286

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

Color values

HEX#803286
RGBrgb(128, 50, 134)
HSLhsl(296, 46%, 36%)
HSVhsv(296, 63%, 53%)
CMYKcmyk(4.5%, 62.7%, 0%, 47.5%)
CIE-LABlab(35.19, 45.58, -31.63)
CIE-LCHlch(35.19, 55.48, 325.24°)
OKLaboklab(46.07% 0.1242 -0.0877)
OKLCHoklch(46.07% 0.152 324.8)
XYZxyz(14.3454, 8.5925, 23.4525)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803286 #388632
analogous
#563286 #803286 #863262
triadic
#803286 #868032 #328680
tetradic
#803286 #865632 #388632 #326286
square
#803286 #865632 #388632 #326286
split-complementary
#803286 #628632 #328656
monochromatic
#2B112D #552159 #803286 #AB43B3 #C16BC8

Accessibility & contrast

On white

7.73
#803286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#803286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803286
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803286#FFFFFF#000000##FFFFFF
##8032861.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#833E57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #803286;
/* rgb */ color: rgb(128, 50, 134);
/* oklch */ color: oklch(46.1% 0.152 324.8);
Tailwind
colors: {
  custom: {
    50: '#a76fa9',
    500: '#803286',
    950: '#000000',
  },
}
SCSS
$custom: #803286;
$custom-light: #a76fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#803286",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 295.714,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46067,
    "c": 0.15202,
    "h": 324.8
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#803286
secondary
#6AAF64
accent
#D5525C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803286

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

Preview Lab → · Contrast checker → · Palette generator →

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