#684A86#684A86

#684A86 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.8% C 0.100 H 306.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#684A86
RGBrgb(104, 74, 134)
HSLhsl(270, 29%, 41%)
HSVhsv(270, 45%, 53%)
CMYKcmyk(22.4%, 44.8%, 0%, 47.5%)
CIE-LABlab(37.04, 25.36, -28.92)
CIE-LCHlch(37.04, 38.46, 311.25°)
OKLaboklab(46.76% 0.0584 -0.0806)
OKLCHoklch(46.76% 0.1 306)
XYZxyz(12.4599, 9.5619, 23.7389)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A86 #68864A
analogous
#4A4A86 #684A86 #864A86
triadic
#684A86 #86684A #4A8668
tetradic
#684A86 #864A4A #68864A #4A8686
square
#684A86 #864A4A #68864A #4A8686
split-complementary
#684A86 #86864A #4A864A
monochromatic
#2B1E37 #49345F #684A86 #8764A9 #A58BBF

Accessibility & contrast

On white

7.21
#684A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#684A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684A86
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A86#FFFFFF#000000##FFFFFF
##684A861.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#435784
Tritanopia (blue-blind)
#635461
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #684a86;
/* rgb */ color: rgb(104, 74, 134);
/* oklch */ color: oklch(46.8% 0.100 306.0);
Tailwind
colors: {
  custom: {
    50: '#947da9',
    500: '#684a86',
    950: '#000000',
  },
}
SCSS
$custom: #684a86;
$custom-light: #947da9;
$custom-dark: #000000;
JSON
{
  "hex": "#684a86",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 270,
    "s": 28.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46757,
    "c": 0.09953,
    "h": 306
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#684A86
secondary
#96AB81
accent
#C56394
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684A86

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

Preview Lab → · Contrast checker → · Palette generator →

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