#803296#803296

#803296 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.167 H 318.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#803296
RGBrgb(128, 50, 150)
HSLhsl(287, 50%, 39%)
HSVhsv(287, 67%, 59%)
CMYKcmyk(14.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(36.12, 48.77, -39.95)
CIE-LCHlch(36.12, 63.05, 320.68°)
OKLaboklab(47.05% 0.1245 -0.1119)
OKLCHoklch(47.05% 0.167 318)
XYZxyz(15.5469, 9.0731, 29.7806)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803296 #489632
analogous
#4E3296 #803296 #96327A
triadic
#803296 #968032 #329680
tetradic
#803296 #964E32 #489632 #327A96
square
#803296 #964E32 #489632 #327A96
split-complementary
#803296 #7A9632 #32964E
monochromatic
#32133A #592368 #803296 #A544C1 #BB72D0

Accessibility & contrast

On white

7.46
#803296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#803296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803296
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803296#FFFFFF#000000##FFFFFF
##8032961.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#365794
Tritanopia (blue-blind)
#804460
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #803296;
/* rgb */ color: rgb(128, 50, 150);
/* oklch */ color: oklch(47.0% 0.167 318.0);
Tailwind
colors: {
  custom: {
    50: '#a870b5',
    500: '#803296',
    950: '#000000',
  },
}
SCSS
$custom: #803296;
$custom-light: #a870b5;
$custom-dark: #000000;
JSON
{
  "hex": "#803296",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 286.8,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.16739,
    "h": 318
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#803296
secondary
#7DB86C
accent
#DA4E6D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803296

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

Preview Lab → · Contrast checker → · Palette generator →

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