#684A9B#684A9B

#684A9B is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.0% C 0.128 H 298.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#684A9B
RGBrgb(104, 74, 155)
HSLhsl(262, 35%, 45%)
HSVhsv(262, 52%, 61%)
CMYKcmyk(32.9%, 52.3%, 0%, 39.2%)
CIE-LABlab(38.21, 30.84, -39.83)
CIE-LCHlch(38.21, 50.37, 307.76°)
OKLaboklab(48.01% 0.0612 -0.1124)
OKLCHoklch(48.01% 0.128 298.6)
XYZxyz(14.0727, 10.2070, 32.2327)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A9B #7D9B4A
analogous
#4A559B #684A9B #904A9B
triadic
#684A9B #9B684A #4A9B68
tetradic
#684A9B #9B4A55 #7D9B4A #4A9B90
square
#684A9B #9B4A55 #7D9B4A #4A9B90
split-complementary
#684A9B #9B904A #559B4A
monochromatic
#302248 #4C3672 #684A9B #876AB8 #A894CC

Accessibility & contrast

On white

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

On black

3.04
#684A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##684A9B#FFFFFF#000000##FFFFFF
##684A9B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#355999
Tritanopia (blue-blind)
#5D5A6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684a9b;
/* rgb */ color: rgb(104, 74, 155);
/* oklch */ color: oklch(48.0% 0.128 298.6);
Tailwind
colors: {
  custom: {
    50: '#967db9',
    500: '#684a9b',
    950: '#000000',
  },
}
SCSS
$custom: #684a9b;
$custom-light: #967db9;
$custom-dark: #000000;
JSON
{
  "hex": "#684a9b",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 262.222,
    "s": 35.371,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.12794,
    "h": 298.6
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#684A9B
secondary
#A6B889
accent
#CB5CA2
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #684A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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