#681E7F#681E7F

#681E7F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.161 H 316.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#681E7F
RGBrgb(104, 30, 127)
HSLhsl(286, 62%, 31%)
HSVhsv(286, 76%, 50%)
CMYKcmyk(18.1%, 76.4%, 0%, 50.2%)
CIE-LABlab(27.86, 47.03, -39.18)
CIE-LCHlch(27.86, 61.21, 320.20°)
OKLaboklab(39.89% 0.1173 -0.1103)
OKLCHoklch(39.89% 0.161 316.8)
XYZxyz(10.0034, 5.4043, 20.5908)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E7F #357F1E
analogous
#371E7F #681E7F #7F1E65
triadic
#681E7F #7F681E #1E7F68
tetradic
#681E7F #7F371E #357F1E #1E657F
square
#681E7F #7F371E #357F1E #1E657F
split-complementary
#681E7F #657F1E #1E7F37
monochromatic
#17071C #3F124D #681E7F #912AB1 #B144D3

Accessibility & contrast

On white

10.09
#681E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#681E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E7F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E7F#FFFFFF#000000##FFFFFF
##681E7F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#67334D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681e7f;
/* rgb */ color: rgb(104, 30, 127);
/* oklch */ color: oklch(39.9% 0.161 316.8);
Tailwind
colors: {
  custom: {
    50: '#9762a5',
    500: '#681e7f',
    950: '#000000',
  },
}
SCSS
$custom: #681e7f;
$custom-light: #9762a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681e7f",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 285.773,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.16101,
    "h": 316.8
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#681E7F
secondary
#60B247
accent
#E54369
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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