#684AAB#684AAB

#684AAB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.1% C 0.149 H 294.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#684AAB
RGBrgb(104, 74, 171)
HSLhsl(259, 40%, 48%)
HSVhsv(259, 57%, 67%)
CMYKcmyk(39.2%, 56.7%, 0%, 32.9%)
CIE-LABlab(39.21, 35.24, -47.79)
CIE-LCHlch(39.21, 59.38, 306.40°)
OKLaboklab(49.07% 0.0619 -0.1357)
OKLCHoklch(49.07% 0.149 294.5)
XYZxyz(15.5065, 10.7806, 39.7841)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AAB #8DAB4A
analogous
#4A5CAB #684AAB #984AAB
triadic
#684AAB #AB684A #4AAB68
tetradic
#684AAB #AB4A5C #8DAB4A #4AAB98
square
#684AAB #AB4A5C #8DAB4A #4AAB98
split-complementary
#684AAB #AB984A #5CAB4A
monochromatic
#342556 #4E3880 #684AAB #8A71C1 #AD9BD4

Accessibility & contrast

On white

6.65
#684AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#684AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AAB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AAB#FFFFFF#000000##FFFFFF
##684AAB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAE
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#575E73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684aab;
/* rgb */ color: rgb(104, 74, 171);
/* oklch */ color: oklch(49.1% 0.149 294.5);
Tailwind
colors: {
  custom: {
    50: '#977dc5',
    500: '#684aab',
    950: '#000000',
  },
}
SCSS
$custom: #684aab;
$custom-light: #977dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#684aab",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 258.557,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.1492,
    "h": 294.5
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#684AAB
secondary
#B2C090
accent
#CF58AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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