#681E88#681E88

#681E88 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.170 H 313.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#681E88
RGBrgb(104, 30, 136)
HSLhsl(282, 64%, 33%)
HSVhsv(282, 78%, 53%)
CMYKcmyk(23.5%, 77.9%, 0%, 46.7%)
CIE-LABlab(28.51, 48.94, -43.77)
CIE-LCHlch(28.51, 65.66, 318.19°)
OKLaboklab(40.56% 0.116 -0.1237)
OKLCHoklch(40.56% 0.17 313.1)
XYZxyz(10.6163, 5.6495, 23.8190)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E88 #3E881E
analogous
#331E88 #681E88 #881E73
triadic
#681E88 #88681E #1E8868
tetradic
#681E88 #88331E #3E881E #1E7388
square
#681E88 #88331E #3E881E #1E7388
split-complementary
#681E88 #73881E #1E8833
monochromatic
#1B0824 #421356 #681E88 #8E29BA #AC49D7

Accessibility & contrast

On white

9.86
#681E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#681E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E88
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E88#FFFFFF#000000##FFFFFF
##681E881.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#653752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681e88;
/* rgb */ color: rgb(104, 30, 136);
/* oklch */ color: oklch(40.6% 0.170 313.1);
Tailwind
colors: {
  custom: {
    50: '#9763ab',
    500: '#681e88',
    950: '#000000',
  },
}
SCSS
$custom: #681e88;
$custom-light: #9763ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681e88",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 281.887,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.16957,
    "h": 313.1
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#681E88
secondary
#6BB949
accent
#E74173
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681E88

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

Preview Lab → · Contrast checker → · Palette generator →

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