#802695#802695

#802695 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 319.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#802695
RGBrgb(128, 38, 149)
HSLhsl(289, 59%, 37%)
HSVhsv(289, 74%, 58%)
CMYKcmyk(14.1%, 74.5%, 0%, 41.6%)
CIE-LABlab(34.29, 53.57, -42.29)
CIE-LCHlch(34.29, 68.25, 321.71°)
OKLaboklab(45.71% 0.1377 -0.1186)
OKLCHoklch(45.71% 0.182 319.2)
XYZxyz(15.0193, 8.1461, 29.2092)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802695 #3B9526
analogous
#492695 #802695 #952673
triadic
#802695 #958026 #269580
tetradic
#802695 #954926 #3B9526 #267395
square
#802695 #954926 #3B9526 #267395
split-complementary
#802695 #739526 #269549
monochromatic
#2C0D33 #561A64 #802695 #AA32C6 #C05FD6

Accessibility & contrast

On white

7.99
#802695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#802695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802695
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802695#FFFFFF#000000##FFFFFF
##8026951.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#2E5492
Tritanopia (blue-blind)
#803C5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802695;
/* rgb */ color: rgb(128, 38, 149);
/* oklch */ color: oklch(45.7% 0.182 319.2);
Tailwind
colors: {
  custom: {
    50: '#a86ab5',
    500: '#802695',
    950: '#000000',
  },
}
SCSS
$custom: #802695;
$custom-light: #a86ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#802695",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 288.649,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.18174,
    "h": 319.2
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#802695
secondary
#6EBB5B
accent
#E34563
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802695

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

Preview Lab → · Contrast checker → · Palette generator →

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