#684FA6#684FA6

#684FA6 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.135 H 294.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#684FA6
RGBrgb(104, 79, 166)
HSLhsl(257, 36%, 48%)
HSVhsv(257, 52%, 65%)
CMYKcmyk(37.3%, 52.4%, 0%, 34.9%)
CIE-LABlab(40.06, 30.86, -43.46)
CIE-LCHlch(40.06, 53.30, 305.38°)
OKLaboklab(49.6% 0.0553 -0.123)
OKLCHoklch(49.6% 0.135 294.2)
XYZxyz(15.3860, 11.2879, 37.4371)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA6 #8DA64F
analogous
#4F62A6 #684FA6 #934FA6
triadic
#684FA6 #A6684F #4FA668
tetradic
#684FA6 #A64F62 #8DA64F #4FA693
square
#684FA6 #A64F62 #8DA64F #4FA693
split-complementary
#684FA6 #A6934F #62A64F
monochromatic
#342853 #4E3B7D #684FA6 #8A75BD #AD9ED1

Accessibility & contrast

On white

6.45
#684FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#684FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA6#FFFFFF#000000##FFFFFF
##684FA61.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#596073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684fa6;
/* rgb */ color: rgb(104, 79, 166);
/* oklch */ color: oklch(49.6% 0.135 294.2);
Tailwind
colors: {
  custom: {
    50: '#9681c1',
    500: '#684fa6',
    950: '#000000',
  },
}
SCSS
$custom: #684fa6;
$custom-light: #9681c1;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa6",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 257.241,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49598,
    "c": 0.13483,
    "h": 294.2
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#684FA6
secondary
#B2BE93
accent
#CC5CAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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