#684C86#684C86

#684C86 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.1% C 0.096 H 305.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#684C86
RGBrgb(104, 76, 134)
HSLhsl(269, 28%, 41%)
HSVhsv(269, 43%, 53%)
CMYKcmyk(22.4%, 43.3%, 0%, 47.5%)
CIE-LABlab(37.54, 24.13, -28.14)
CIE-LCHlch(37.54, 37.07, 310.62°)
OKLaboklab(47.13% 0.0554 -0.0783)
OKLCHoklch(47.13% 0.096 305.3)
XYZxyz(12.5956, 9.8332, 23.7841)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684C86 #6A864C
analogous
#4C4D86 #684C86 #854C86
triadic
#684C86 #86684C #4C8668
tetradic
#684C86 #864C4D #6A864C #4C8685
square
#684C86 #864C4D #6A864C #4C8685
split-complementary
#684C86 #86854C #4D864C
monochromatic
#2B2038 #4A365F #684C86 #8667A9 #A58EBF

Accessibility & contrast

On white

7.08
#684C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#684C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684C86
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684C86#FFFFFF#000000##FFFFFF
##684C861.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#455884
Tritanopia (blue-blind)
#635562
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684c86;
/* rgb */ color: rgb(104, 76, 134);
/* oklch */ color: oklch(47.1% 0.096 305.3);
Tailwind
colors: {
  custom: {
    50: '#947ea9',
    500: '#684c86',
    950: '#000000',
  },
}
SCSS
$custom: #684c86;
$custom-light: #947ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#684c86",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 134
  },
  "hsl": {
    "h": 268.966,
    "s": 27.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.09592,
    "h": 305.3
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#684C86
secondary
#98AB83
accent
#C46496
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #684C86

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

Preview Lab → · Contrast checker → · Palette generator →

#684C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva