#681E87#681E87

#681E87 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.169 H 313.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#681E87
RGBrgb(104, 30, 135)
HSLhsl(282, 64%, 32%)
HSVhsv(282, 78%, 53%)
CMYKcmyk(23%, 77.8%, 0%, 47.1%)
CIE-LABlab(28.44, 48.73, -43.26)
CIE-LCHlch(28.44, 65.16, 318.40°)
OKLaboklab(40.49% 0.1161 -0.1222)
OKLCHoklch(40.49% 0.169 313.5)
XYZxyz(10.5456, 5.6212, 23.4465)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E87 #3D871E
analogous
#341E87 #681E87 #871E71
triadic
#681E87 #87681E #1E8768
tetradic
#681E87 #87341E #3D871E #1E7187
square
#681E87 #87341E #3D871E #1E7187
split-complementary
#681E87 #71871E #1E8734
monochromatic
#1B0823 #411355 #681E87 #8F29B9 #AD49D7

Accessibility & contrast

On white

9.89
#681E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#681E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E87
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E87#FFFFFF#000000##FFFFFF
##681E871.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#653651
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681e87;
/* rgb */ color: rgb(104, 30, 135);
/* oklch */ color: oklch(40.5% 0.169 313.5);
Tailwind
colors: {
  custom: {
    50: '#9763ab',
    500: '#681e87',
    950: '#000000',
  },
}
SCSS
$custom: #681e87;
$custom-light: #9763ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681e87",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 282.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.16862,
    "h": 313.5
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#681E87
secondary
#69B948
accent
#E74172
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681E87

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

Preview Lab → · Contrast checker → · Palette generator →

#681E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva