#802685#802685

#802685 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.168 H 325.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#802685
RGBrgb(128, 38, 133)
HSLhsl(297, 56%, 34%)
HSVhsv(297, 71%, 52%)
CMYKcmyk(3.8%, 71.4%, 0%, 47.8%)
CIE-LABlab(33.29, 50.54, -34.03)
CIE-LCHlch(33.29, 60.93, 326.05°)
OKLaboklab(44.68% 0.1385 -0.0945)
OKLCHoklch(44.68% 0.168 325.7)
XYZxyz(13.8285, 7.6698, 22.9378)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802685 #2B8526
analogous
#502685 #802685 #85265A
triadic
#802685 #858026 #268580
tetradic
#802685 #855026 #2B8526 #265A85
square
#802685 #855026 #2B8526 #265A85
split-complementary
#802685 #5A8526 #268550
monochromatic
#240B26 #521855 #802685 #AE34B5 #C957CF

Accessibility & contrast

On white

8.29
#802685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802685
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802685#FFFFFF#000000##FFFFFF
##8026851.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104788
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#833553
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802685;
/* rgb */ color: rgb(128, 38, 133);
/* oklch */ color: oklch(44.7% 0.168 325.7);
Tailwind
colors: {
  custom: {
    50: '#a869a9',
    500: '#802685',
    950: '#000000',
  },
}
SCSS
$custom: #802685;
$custom-light: #a869a9;
$custom-dark: #000000;
JSON
{
  "hex": "#802685",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 296.842,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.16765,
    "h": 325.7
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#802685
secondary
#58B353
accent
#DF4951
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802685

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

Preview Lab → · Contrast checker → · Palette generator →

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