#803195#803195

#803195 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.168 H 318.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#803195
RGBrgb(128, 49, 149)
HSLhsl(287, 51%, 39%)
HSVhsv(287, 67%, 58%)
CMYKcmyk(14.1%, 67.1%, 0%, 41.6%)
CIE-LABlab(35.90, 49.02, -39.70)
CIE-LCHlch(35.90, 63.08, 320.99°)
OKLaboklab(46.87% 0.1257 -0.1112)
OKLCHoklch(46.87% 0.168 318.5)
XYZxyz(15.4245, 8.9564, 29.3442)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803195 #469531
analogous
#4E3195 #803195 #953178
triadic
#803195 #958031 #319580
tetradic
#803195 #954E31 #469531 #317895
square
#803195 #954E31 #469531 #317895
split-complementary
#803195 #789531 #31954E
monochromatic
#311339 #582267 #803195 #A642C1 #BC70D0

Accessibility & contrast

On white

7.52
#803195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #803195
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803195#FFFFFF#000000##FFFFFF
##8031951.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4F98
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#80435F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #803195;
/* rgb */ color: rgb(128, 49, 149);
/* oklch */ color: oklch(46.9% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#a86fb5',
    500: '#803195',
    950: '#000000',
  },
}
SCSS
$custom: #803195;
$custom-light: #a86fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#803195",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 287.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.1678,
    "h": 318.5
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#803195
secondary
#7AB86A
accent
#DA4E6B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #803195

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

Preview Lab → · Contrast checker → · Palette generator →

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