#684EA6#684EA6

#684EA6 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.136 H 294.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#684EA6
RGBrgb(104, 78, 166)
HSLhsl(258, 36%, 48%)
HSVhsv(258, 53%, 65%)
CMYKcmyk(37.3%, 53%, 0%, 34.9%)
CIE-LABlab(39.82, 31.46, -43.84)
CIE-LCHlch(39.82, 53.96, 305.67°)
OKLaboklab(49.42% 0.0566 -0.1241)
OKLCHoklch(49.42% 0.136 294.5)
XYZxyz(15.3145, 11.1447, 37.4133)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EA6 #8CA64E
analogous
#4E60A6 #684EA6 #944EA6
triadic
#684EA6 #A6684E #4EA668
tetradic
#684EA6 #A64E60 #8CA64E #4EA694
square
#684EA6 #A64E60 #8CA64E #4EA694
split-complementary
#684EA6 #A6944E #60A64E
monochromatic
#342753 #4E3A7C #684EA6 #8974BE #AD9DD1

Accessibility & contrast

On white

6.50
#684EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#684EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EA6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EA6#FFFFFF#000000##FFFFFF
##684EA61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#305CA4
Tritanopia (blue-blind)
#596072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ea6;
/* rgb */ color: rgb(104, 78, 166);
/* oklch */ color: oklch(49.4% 0.136 294.5);
Tailwind
colors: {
  custom: {
    50: '#9780c1',
    500: '#684ea6',
    950: '#000000',
  },
}
SCSS
$custom: #684ea6;
$custom-light: #9780c1;
$custom-dark: #000000;
JSON
{
  "hex": "#684ea6",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 257.727,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.13639,
    "h": 294.5
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#684EA6
secondary
#B1BE92
accent
#CC5CAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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