#684EA7#684EA7

#684EA7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.138 H 294.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#684EA7
RGBrgb(104, 78, 167)
HSLhsl(258, 36%, 48%)
HSVhsv(258, 53%, 65%)
CMYKcmyk(37.7%, 53.3%, 0%, 34.5%)
CIE-LABlab(39.88, 31.74, -44.33)
CIE-LCHlch(39.88, 54.52, 305.60°)
OKLaboklab(49.49% 0.0566 -0.1256)
OKLCHoklch(49.49% 0.138 294.3)
XYZxyz(15.4065, 11.1815, 37.8983)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EA7 #8DA74E
analogous
#4E60A7 #684EA7 #944EA7
triadic
#684EA7 #A7684E #4EA768
tetradic
#684EA7 #A74E60 #8DA74E #4EA794
square
#684EA7 #A74E60 #8DA74E #4EA794
split-complementary
#684EA7 #A7944E #60A74E
monochromatic
#342754 #4E3B7D #684EA7 #8A74BE #AD9ED2

Accessibility & contrast

On white

6.49
#684EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#684EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EA7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EA7#FFFFFF#000000##FFFFFF
##684EA71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#2F5DA5
Tritanopia (blue-blind)
#596073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ea7;
/* rgb */ color: rgb(104, 78, 167);
/* oklch */ color: oklch(49.5% 0.138 294.3);
Tailwind
colors: {
  custom: {
    50: '#9780c2',
    500: '#684ea7',
    950: '#000000',
  },
}
SCSS
$custom: #684ea7;
$custom-light: #9780c2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ea7",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 257.528,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.13775,
    "h": 294.3
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#684EA7
secondary
#B2BE92
accent
#CC5BAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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