#684EAF#684EAF

#684EAF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.148 H 292.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#684EAF
RGBrgb(104, 78, 175)
HSLhsl(256, 38%, 50%)
HSVhsv(256, 55%, 69%)
CMYKcmyk(40.6%, 55.4%, 0%, 31.4%)
CIE-LABlab(40.39, 33.99, -48.27)
CIE-LCHlch(40.39, 59.04, 305.16°)
OKLaboklab(50.02% 0.057 -0.1371)
OKLCHoklch(50.02% 0.148 292.6)
XYZxyz(16.1691, 11.4866, 41.9143)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EAF #95AF4E
analogous
#4E65AF #684EAF #984EAF
triadic
#684EAF #AF684E #4EAF68
tetradic
#684EAF #AF4E65 #95AF4E #4EAF98
square
#684EAF #AF4E65 #95AF4E #4EAF98
split-complementary
#684EAF #AF984E #65AF4E
monochromatic
#36285A #4F3B85 #684EAF #8C78C3 #B0A2D6

Accessibility & contrast

On white

6.37
#684EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#684EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EAF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EAF#FFFFFF#000000##FFFFFF
##684EAF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#556277
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684eaf;
/* rgb */ color: rgb(104, 78, 175);
/* oklch */ color: oklch(50.0% 0.148 292.6);
Tailwind
colors: {
  custom: {
    50: '#9780c7',
    500: '#684eaf',
    950: '#000000',
  },
}
SCSS
$custom: #684eaf;
$custom-light: #9780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#684eaf",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 256.082,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.14849,
    "h": 292.6
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#684EAF
secondary
#B7C396
accent
#CE5AAF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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