#684AC7#684AC7

#684AC7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.185 H 289.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#684AC7
RGBrgb(104, 74, 199)
HSLhsl(254, 53%, 54%)
HSVhsv(254, 63%, 78%)
CMYKcmyk(47.7%, 62.8%, 0%, 22%)
CIE-LABlab(41.16, 43.21, -61.08)
CIE-LCHlch(41.16, 74.81, 305.27°)
OKLaboklab(51.11% 0.0609 -0.1748)
OKLCHoklch(51.11% 0.185 289.2)
XYZxyz(18.4635, 11.9634, 55.3581)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AC7 #A9C74A
analogous
#4A6AC7 #684AC7 #A64AC7
triadic
#684AC7 #C7684A #4AC768
tetradic
#684AC7 #C74A6A #A9C74A #4AC7A6
square
#684AC7 #C74A6A #A9C74A #4AC7A6
split-complementary
#684AC7 #C7A64A #6AC74A
monochromatic
#372473 #4D32A2 #684AC7 #8F79D5 #B6A7E4

Accessibility & contrast

On white

6.19
#684AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#684AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AC7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AC7#FFFFFF#000000##FFFFFF
##684AC71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#496882
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684ac7;
/* rgb */ color: rgb(104, 74, 199);
/* oklch */ color: oklch(51.1% 0.185 289.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ed9',
    500: '#684ac7',
    950: '#000000',
  },
}
SCSS
$custom: #684ac7;
$custom-light: #9a7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#684ac7",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 254.4,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.1851,
    "h": 289.2
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#684AC7
secondary
#C4D19C
accent
#DC4CB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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