#803497#803497

#803497 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 317.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#803497
RGBrgb(128, 52, 151)
HSLhsl(286, 49%, 40%)
HSVhsv(286, 66%, 59%)
CMYKcmyk(15.2%, 65.6%, 0%, 40.8%)
CIE-LABlab(36.52, 48.06, -39.93)
CIE-LCHlch(36.52, 62.48, 320.28°)
OKLaboklab(47.35% 0.1221 -0.1118)
OKLCHoklch(47.35% 0.166 317.5)
XYZxyz(15.7152, 9.2802, 30.2356)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803497 #4B9734
analogous
#4F3497 #803497 #97347C
triadic
#803497 #978034 #349780
tetradic
#803497 #974F34 #4B9734 #347C97
square
#803497 #974F34 #4B9734 #347C97
split-complementary
#803497 #7C9734 #34974F
monochromatic
#33153C #592469 #803497 #A448C0 #BB76D0

Accessibility & contrast

On white

7.35
#803497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#803497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803497
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803497#FFFFFF#000000##FFFFFF
##8034971.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#7F4661
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #803497;
/* rgb */ color: rgb(128, 52, 151);
/* oklch */ color: oklch(47.4% 0.166 317.5);
Tailwind
colors: {
  custom: {
    50: '#a871b6',
    500: '#803497',
    950: '#000000',
  },
}
SCSS
$custom: #803497;
$custom-light: #a871b6;
$custom-dark: #000000;
JSON
{
  "hex": "#803497",
  "rgb": {
    "r": 128,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 286.061,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.16556,
    "h": 317.5
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#803497
secondary
#80B86F
accent
#D84F6F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803497

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

Preview Lab → · Contrast checker → · Palette generator →

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