#684AAA#684AAA

#684AAA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.148 H 294.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#684AAA
RGBrgb(104, 74, 170)
HSLhsl(259, 39%, 48%)
HSVhsv(259, 56%, 67%)
CMYKcmyk(38.8%, 56.5%, 0%, 33.3%)
CIE-LABlab(39.14, 34.96, -47.30)
CIE-LCHlch(39.14, 58.82, 306.47°)
OKLaboklab(49% 0.0619 -0.1343)
OKLCHoklch(49% 0.148 294.7)
XYZxyz(15.4115, 10.7426, 39.2840)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AAA #8CAA4A
analogous
#4A5CAA #684AAA #984AAA
triadic
#684AAA #AA684A #4AAA68
tetradic
#684AAA #AA4A5C #8CAA4A #4AAA98
square
#684AAA #AA4A5C #8CAA4A #4AAA98
split-complementary
#684AAA #AA984A #5CAA4A
monochromatic
#342555 #4E377F #684AAA #8970C1 #AD9BD3

Accessibility & contrast

On white

6.67
#684AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#684AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AAA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AAA#FFFFFF#000000##FFFFFF
##684AAA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#585E73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684aaa;
/* rgb */ color: rgb(104, 74, 170);
/* oklch */ color: oklch(49.0% 0.148 294.7);
Tailwind
colors: {
  custom: {
    50: '#977dc4',
    500: '#684aaa',
    950: '#000000',
  },
}
SCSS
$custom: #684aaa;
$custom-light: #977dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#684aaa",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 258.75,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.14788,
    "h": 294.7
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#684AAA
secondary
#B1C090
accent
#CF59AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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