#684E97#684E97

#684E97 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.5% C 0.116 H 298.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#684E97
RGBrgb(104, 78, 151)
HSLhsl(261, 32%, 45%)
HSVhsv(261, 48%, 59%)
CMYKcmyk(31.1%, 48.3%, 0%, 40.8%)
CIE-LABlab(38.94, 27.35, -36.25)
CIE-LCHlch(38.94, 45.41, 307.03°)
OKLaboklab(48.48% 0.0551 -0.1019)
OKLCHoklch(48.48% 0.116 298.4)
XYZxyz(14.0179, 10.6261, 30.5847)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684E97 #7D974E
analogous
#4E5897 #684E97 #8D4E97
triadic
#684E97 #97684E #4E9768
tetradic
#684E97 #974E58 #7D974E #4E978D
square
#684E97 #974E58 #7D974E #4E978D
split-complementary
#684E97 #978D4E #58974E
monochromatic
#302446 #4C396F #684E97 #876EB4 #A896C9

Accessibility & contrast

On white

6.72
#684E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#684E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684E97
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684E97#FFFFFF#000000##FFFFFF
##684E971.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#5E5B6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684e97;
/* rgb */ color: rgb(104, 78, 151);
/* oklch */ color: oklch(48.5% 0.116 298.4);
Tailwind
colors: {
  custom: {
    50: '#9580b6',
    500: '#684e97',
    950: '#000000',
  },
}
SCSS
$custom: #684e97;
$custom-light: #9580b6;
$custom-dark: #000000;
JSON
{
  "hex": "#684e97",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 261.37,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.11587,
    "h": 298.4
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#684E97
secondary
#A6B68B
accent
#C860A3
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684E97

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

Preview Lab → · Contrast checker → · Palette generator →

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