#803097#803097

#803097 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 317.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#803097
RGBrgb(128, 48, 151)
HSLhsl(287, 52%, 39%)
HSVhsv(287, 68%, 59%)
CMYKcmyk(15.2%, 68.2%, 0%, 40.8%)
CIE-LABlab(35.86, 49.88, -40.98)
CIE-LCHlch(35.86, 64.55, 320.59°)
OKLaboklab(46.88% 0.1268 -0.1149)
OKLCHoklch(46.88% 0.171 317.8)
XYZxyz(15.5442, 8.9381, 30.1786)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803097 #479730
analogous
#4D3097 #803097 #97307B
triadic
#803097 #978030 #309780
tetradic
#803097 #974D30 #479730 #307B97
square
#803097 #974D30 #479730 #307B97
split-complementary
#803097 #7B9730 #30974D
monochromatic
#31123A #592169 #803097 #A641C3 #BC70D2

Accessibility & contrast

On white

7.53
#803097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#803097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803097
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803097#FFFFFF#000000##FFFFFF
##8030971.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#7F435F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #803097;
/* rgb */ color: rgb(128, 48, 151);
/* oklch */ color: oklch(46.9% 0.171 317.8);
Tailwind
colors: {
  custom: {
    50: '#a86fb6',
    500: '#803097',
    950: '#000000',
  },
}
SCSS
$custom: #803097;
$custom-light: #a86fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#803097",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 286.602,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.1711,
    "h": 317.8
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#803097
secondary
#7BB96A
accent
#DB4D6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803097

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

Preview Lab → · Contrast checker → · Palette generator →

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