#681987#681987

#681987 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 313.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#681987
RGBrgb(104, 25, 135)
HSLhsl(283, 69%, 31%)
HSVhsv(283, 81%, 53%)
CMYKcmyk(23%, 81.5%, 0%, 47.1%)
CIE-LABlab(27.81, 50.52, -44.27)
CIE-LCHlch(27.81, 67.18, 318.77°)
OKLaboklab(40.05% 0.1206 -0.1252)
OKLCHoklch(40.05% 0.174 313.9)
XYZxyz(10.4290, 5.3879, 23.4076)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681987 #388719
analogous
#311987 #681987 #87196F
triadic
#681987 #876819 #198768
tetradic
#681987 #873119 #388719 #196F87
square
#681987 #873119 #388719 #196F87
split-complementary
#681987 #6F8719 #198731
monochromatic
#180620 #400F53 #681987 #9023BB #AF3FDB

Accessibility & contrast

On white

10.11
#681987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#681987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681987
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681987#FFFFFF#000000##FFFFFF
##6819871.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#0D4385
Tritanopia (blue-blind)
#653450
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681987;
/* rgb */ color: rgb(104, 25, 135);
/* oklch */ color: oklch(40.0% 0.174 313.9);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#681987',
    950: '#000000',
  },
}
SCSS
$custom: #681987;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681987",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 283.091,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.1738,
    "h": 313.9
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#681987
secondary
#63BA41
accent
#EC3C6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681987

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

Preview Lab → · Contrast checker → · Palette generator →

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