#684A85#684A85

#684A85 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.7% C 0.098 H 306.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#684A85
RGBrgb(104, 74, 133)
HSLhsl(271, 29%, 41%)
HSVhsv(271, 44%, 52%)
CMYKcmyk(21.8%, 44.4%, 0%, 47.8%)
CIE-LABlab(36.99, 25.11, -28.38)
CIE-LCHlch(36.99, 37.89, 311.49°)
OKLaboklab(46.7% 0.0583 -0.079)
OKLCHoklch(46.7% 0.098 306.4)
XYZxyz(12.3905, 9.5342, 23.3733)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A85 #67854A
analogous
#4A4A85 #684A85 #854A84
triadic
#684A85 #85684A #4A8568
tetradic
#684A85 #854A4A #67854A #4A8485
square
#684A85 #854A4A #67854A #4A8485
split-complementary
#684A85 #84854A #4A854A
monochromatic
#2B1E36 #49345E #684A85 #8764A9 #A58BBE

Accessibility & contrast

On white

7.22
#684A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #684A85
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A85#FFFFFF#000000##FFFFFF
##684A851.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5687
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#645361
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #684a85;
/* rgb */ color: rgb(104, 74, 133);
/* oklch */ color: oklch(46.7% 0.098 306.4);
Tailwind
colors: {
  custom: {
    50: '#947da9',
    500: '#684a85',
    950: '#000000',
  },
}
SCSS
$custom: #684a85;
$custom-light: #947da9;
$custom-dark: #000000;
JSON
{
  "hex": "#684a85",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 270.508,
    "s": 28.502,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.09818,
    "h": 306.4
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#684A85
secondary
#95AA80
accent
#C56393
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684A85

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

Preview Lab → · Contrast checker → · Palette generator →

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