#684EA5#684EA5

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

Color values

HEX#684EA5
RGBrgb(104, 78, 165)
HSLhsl(258, 36%, 48%)
HSVhsv(258, 53%, 65%)
CMYKcmyk(37%, 52.7%, 0%, 35.3%)
CIE-LABlab(39.76, 31.18, -43.34)
CIE-LCHlch(39.76, 53.39, 305.73°)
OKLaboklab(49.36% 0.0565 -0.1226)
OKLCHoklch(49.36% 0.135 294.7)
XYZxyz(15.2231, 11.1082, 36.9321)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EA5 #8BA54E
analogous
#4E60A5 #684EA5 #934EA5
triadic
#684EA5 #A5684E #4EA568
tetradic
#684EA5 #A54E60 #8BA54E #4EA593
square
#684EA5 #A54E60 #8BA54E #4EA593
split-complementary
#684EA5 #A5934E #60A54E
monochromatic
#342752 #4E3A7B #684EA5 #8973BD #AC9DD1

Accessibility & contrast

On white

6.52
#684EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#684EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EA5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EA5#FFFFFF#000000##FFFFFF
##684EA51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA8
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#595F72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ea5;
/* rgb */ color: rgb(104, 78, 165);
/* oklch */ color: oklch(49.4% 0.135 294.7);
Tailwind
colors: {
  custom: {
    50: '#9680c0',
    500: '#684ea5',
    950: '#000000',
  },
}
SCSS
$custom: #684ea5;
$custom-light: #9680c0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ea5",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 257.931,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.13504,
    "h": 294.7
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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