#803099#803099

#803099 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.173 H 317.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#803099
RGBrgb(128, 48, 153)
HSLhsl(286, 52%, 39%)
HSVhsv(286, 69%, 60%)
CMYKcmyk(16.3%, 68.6%, 0%, 40%)
CIE-LABlab(35.99, 50.29, -41.99)
CIE-LCHlch(35.99, 65.51, 320.14°)
OKLaboklab(47.01% 0.1267 -0.1178)
OKLCHoklch(47.01% 0.173 317.1)
XYZxyz(15.7080, 9.0036, 31.0413)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803099 #499930
analogous
#4B3099 #803099 #99307E
triadic
#803099 #998030 #309980
tetradic
#803099 #994B30 #499930 #307E99
square
#803099 #994B30 #499930 #307E99
split-complementary
#803099 #7E9930 #30994B
monochromatic
#32133C #59216A #803099 #A542C4 #BB71D2

Accessibility & contrast

On white

7.50
#803099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#803099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803099
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803099#FFFFFF#000000##FFFFFF
##8030991.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#325797
Tritanopia (blue-blind)
#7F4461
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #803099;
/* rgb */ color: rgb(128, 48, 153);
/* oklch */ color: oklch(47.0% 0.173 317.1);
Tailwind
colors: {
  custom: {
    50: '#a86fb8',
    500: '#803099',
    950: '#000000',
  },
}
SCSS
$custom: #803099;
$custom-light: #a86fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#803099",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 285.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47012,
    "c": 0.17304,
    "h": 317.1
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#803099
secondary
#7EBA6B
accent
#DC4C6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803099

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

Preview Lab → · Contrast checker → · Palette generator →

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