#684EA4#684EA4

#684EA4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.3% C 0.134 H 295.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#684EA4
RGBrgb(104, 78, 164)
HSLhsl(258, 36%, 47%)
HSVhsv(258, 52%, 64%)
CMYKcmyk(36.6%, 52.4%, 0%, 35.7%)
CIE-LABlab(39.70, 30.90, -42.84)
CIE-LCHlch(39.70, 52.82, 305.80°)
OKLaboklab(49.29% 0.0564 -0.1212)
OKLCHoklch(49.29% 0.134 295)
XYZxyz(15.1324, 11.0719, 36.4546)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EA4 #8AA44E
analogous
#4E5FA4 #684EA4 #934EA4
triadic
#684EA4 #A4684E #4EA468
tetradic
#684EA4 #A44E5F #8AA44E #4EA493
square
#684EA4 #A44E5F #8AA44E #4EA493
split-complementary
#684EA4 #A4934E #5FA44E
monochromatic
#332751 #4E3A7B #684EA4 #8973BC #AC9CD0

Accessibility & contrast

On white

6.53
#684EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#684EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EA4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EA4#FFFFFF#000000##FFFFFF
##684EA41.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#5A5F71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ea4;
/* rgb */ color: rgb(104, 78, 164);
/* oklch */ color: oklch(49.3% 0.134 295.0);
Tailwind
colors: {
  custom: {
    50: '#9680bf',
    500: '#684ea4',
    950: '#000000',
  },
}
SCSS
$custom: #684ea4;
$custom-light: #9680bf;
$custom-dark: #000000;
JSON
{
  "hex": "#684ea4",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 258.14,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.13369,
    "h": 295
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#684EA4
secondary
#B0BD91
accent
#CC5CAA
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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