#684E8A#684E8A

#684E8A is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.7% C 0.098 H 302.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#684E8A
RGBrgb(104, 78, 138)
HSLhsl(266, 28%, 42%)
HSVhsv(266, 43%, 54%)
CMYKcmyk(24.6%, 43.5%, 0%, 45.9%)
CIE-LABlab(38.25, 23.93, -29.47)
CIE-LCHlch(38.25, 37.96, 309.07°)
OKLaboklab(47.73% 0.0531 -0.0822)
OKLCHoklch(47.73% 0.098 302.9)
XYZxyz(13.0198, 10.2268, 25.3279)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684E8A #708A4E
analogous
#4E528A #684E8A #864E8A
triadic
#684E8A #8A684E #4E8A68
tetradic
#684E8A #8A4E52 #708A4E #4E8A86
square
#684E8A #8A4E52 #708A4E #4E8A86
split-complementary
#684E8A #8A864E #528A4E
monochromatic
#2D223C #4B3863 #684E8A #866AAB #A691C1

Accessibility & contrast

On white

6.90
#684E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#684E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684E8A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684E8A#FFFFFF#000000##FFFFFF
##684E8A1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598C
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#625865
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684e8a;
/* rgb */ color: rgb(104, 78, 138);
/* oklch */ color: oklch(47.7% 0.098 302.9);
Tailwind
colors: {
  custom: {
    50: '#9480ac',
    500: '#684e8a',
    950: '#000000',
  },
}
SCSS
$custom: #684e8a;
$custom-light: #9480ac;
$custom-dark: #000000;
JSON
{
  "hex": "#684e8a",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 266,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.09784,
    "h": 302.9
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#684E8A
secondary
#9DAE86
accent
#C4649A
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #684E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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