#684B8A#684B8A

#684B8A is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.2% C 0.103 H 303.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#684B8A
RGBrgb(104, 75, 138)
HSLhsl(268, 30%, 42%)
HSVhsv(268, 46%, 54%)
CMYKcmyk(24.6%, 45.7%, 0%, 45.9%)
CIE-LABlab(37.50, 25.76, -30.65)
CIE-LCHlch(37.50, 40.04, 310.05°)
OKLaboklab(47.17% 0.0576 -0.0856)
OKLCHoklch(47.17% 0.103 303.9)
XYZxyz(12.8115, 9.8102, 25.2585)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684B8A #6D8A4B
analogous
#4B4E8A #684B8A #884B8A
triadic
#684B8A #8A684B #4B8A68
tetradic
#684B8A #8A4B4E #6D8A4B #4B8A88
square
#684B8A #8A4B4E #6D8A4B #4B8A88
split-complementary
#684B8A #8A884B #4E8A4B
monochromatic
#2C203B #4A3562 #684B8A #8666AC #A68EC2

Accessibility & contrast

On white

7.09
#684B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#684B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684B8A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684B8A#FFFFFF#000000##FFFFFF
##684B8A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B578C
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#625664
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684b8a;
/* rgb */ color: rgb(104, 75, 138);
/* oklch */ color: oklch(47.2% 0.103 303.9);
Tailwind
colors: {
  custom: {
    50: '#957eac',
    500: '#684b8a',
    950: '#000000',
  },
}
SCSS
$custom: #684b8a;
$custom-light: #957eac;
$custom-dark: #000000;
JSON
{
  "hex": "#684b8a",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 267.619,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.10318,
    "h": 303.9
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#684B8A
secondary
#9AAE83
accent
#C66298
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #684B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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