#684ACC#684ACC

#684ACC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.191 H 288.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#684ACC
RGBrgb(104, 74, 204)
HSLhsl(254, 56%, 55%)
HSVhsv(254, 64%, 80%)
CMYKcmyk(49%, 63.7%, 0%, 20%)
CIE-LABlab(41.53, 44.65, -63.37)
CIE-LCHlch(41.53, 77.52, 305.17°)
OKLaboklab(51.5% 0.0605 -0.1815)
OKLCHoklch(51.5% 0.191 288.4)
XYZxyz(19.0536, 12.1994, 58.4658)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ACC #AECC4A
analogous
#4A6DCC #684ACC #A94ACC
triadic
#684ACC #CC684A #4ACC68
tetradic
#684ACC #CC4A6D #AECC4A #4ACCA9
square
#684ACC #CC4A6D #AECC4A #4ACCA9
split-complementary
#684ACC #CCA94A #6DCC4A
monochromatic
#362279 #4C30A9 #684ACC #907AD9 #B8A9E7

Accessibility & contrast

On white

6.10
#684ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#684ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ACC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ACC#FFFFFF#000000##FFFFFF
##684ACC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#466984
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684acc;
/* rgb */ color: rgb(104, 74, 204);
/* oklch */ color: oklch(51.5% 0.191 288.4);
Tailwind
colors: {
  custom: {
    50: '#9b7edc',
    500: '#684acc',
    950: '#000000',
  },
}
SCSS
$custom: #684acc;
$custom-light: #9b7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#684acc",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 253.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.19133,
    "h": 288.4
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#684ACC
secondary
#C8D49D
accent
#DF48BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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