#803285#803285

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

Color values

HEX#803285
RGBrgb(128, 50, 133)
HSLhsl(296, 45%, 36%)
HSVhsv(296, 62%, 52%)
CMYKcmyk(3.8%, 62.4%, 0%, 47.8%)
CIE-LABlab(35.13, 45.38, -31.10)
CIE-LCHlch(35.13, 55.02, 325.58°)
OKLaboklab(46.01% 0.1241 -0.0861)
OKLCHoklch(46.01% 0.151 325.2)
XYZxyz(14.2760, 8.5647, 23.0870)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803285 #378532
analogous
#563285 #803285 #853260
triadic
#803285 #858032 #328580
tetradic
#803285 #855632 #378532 #326085
square
#803285 #855632 #378532 #326085
split-complementary
#803285 #608532 #328556
monochromatic
#2A112C #552159 #803285 #AB43B1 #C26AC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##803285#FFFFFF#000000##FFFFFF
##8032851.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)
#254C88
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#833D57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #803285;
/* rgb */ color: rgb(128, 50, 133);
/* oklch */ color: oklch(46.0% 0.151 325.2);
Tailwind
colors: {
  custom: {
    50: '#a76fa9',
    500: '#803285',
    950: '#000000',
  },
}
SCSS
$custom: #803285;
$custom-light: #a76fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#803285",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 296.386,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.15108,
    "h": 325.2
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#803285
secondary
#69AF64
accent
#D5535B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #803285

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

Preview Lab → · Contrast checker → · Palette generator →

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