#684EAA#684EAA

#684EAA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.142 H 293.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#684EAA
RGBrgb(104, 78, 170)
HSLhsl(257, 37%, 49%)
HSVhsv(257, 54%, 67%)
CMYKcmyk(38.8%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.07, 32.58, -45.82)
CIE-LCHlch(40.07, 56.22, 305.42°)
OKLaboklab(49.69% 0.0568 -0.1299)
OKLCHoklch(49.69% 0.142 293.6)
XYZxyz(15.6871, 11.2938, 39.3758)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EAA #90AA4E
analogous
#4E62AA #684EAA #964EAA
triadic
#684EAA #AA684E #4EAA68
tetradic
#684EAA #AA4E62 #90AA4E #4EAA96
square
#684EAA #AA4E62 #90AA4E #4EAA96
split-complementary
#684EAA #AA964E #62AA4E
monochromatic
#352856 #4E3B80 #684EAA #8A75C0 #AE9FD3

Accessibility & contrast

On white

6.44
#684EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684EAA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EAA#FFFFFF#000000##FFFFFF
##684EAA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#2C5DA8
Tritanopia (blue-blind)
#576174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684eaa;
/* rgb */ color: rgb(104, 78, 170);
/* oklch */ color: oklch(49.7% 0.142 293.6);
Tailwind
colors: {
  custom: {
    50: '#9780c4',
    500: '#684eaa',
    950: '#000000',
  },
}
SCSS
$custom: #684eaa;
$custom-light: #9780c4;
$custom-dark: #000000;
JSON
{
  "hex": "#684eaa",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 256.957,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.14179,
    "h": 293.6
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#684EAA
secondary
#B4C094
accent
#CD5BAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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