#684AC6#684AC6

#684AC6 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.184 H 289.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#684AC6
RGBrgb(104, 74, 198)
HSLhsl(255, 52%, 53%)
HSVhsv(255, 63%, 78%)
CMYKcmyk(47.5%, 62.6%, 0%, 22.4%)
CIE-LABlab(41.08, 42.92, -60.62)
CIE-LCHlch(41.08, 74.27, 305.30°)
OKLaboklab(51.04% 0.061 -0.1734)
OKLCHoklch(51.04% 0.184 289.4)
XYZxyz(18.3478, 11.9171, 54.7486)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AC6 #A8C64A
analogous
#4A6AC6 #684AC6 #A64AC6
triadic
#684AC6 #C6684A #4AC668
tetradic
#684AC6 #C64A6A #A8C64A #4AC6A6
square
#684AC6 #C64A6A #A8C64A #4AC6A6
split-complementary
#684AC6 #C6A64A #6AC64A
monochromatic
#372472 #4D32A0 #684AC6 #8F79D5 #B6A7E3

Accessibility & contrast

On white

6.21
#684AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#684AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AC6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AC6#FFFFFF#000000##FFFFFF
##684AC61.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#4A6781
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684ac6;
/* rgb */ color: rgb(104, 74, 198);
/* oklch */ color: oklch(51.0% 0.184 289.4);
Tailwind
colors: {
  custom: {
    50: '#9a7ed8',
    500: '#684ac6',
    950: '#000000',
  },
}
SCSS
$custom: #684ac6;
$custom-light: #9a7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#684ac6",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 254.516,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.18385,
    "h": 289.4
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#684AC6
secondary
#C4D19B
accent
#DC4CB9
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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