#684AB3#684AB3

#684AB3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.160 H 292.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#684AB3
RGBrgb(104, 74, 179)
HSLhsl(257, 42%, 50%)
HSVhsv(257, 59%, 70%)
CMYKcmyk(41.9%, 58.7%, 0%, 29.8%)
CIE-LABlab(39.74, 37.49, -51.67)
CIE-LCHlch(39.74, 63.84, 305.96°)
OKLaboklab(49.63% 0.0619 -0.1471)
OKLCHoklch(49.63% 0.16 292.8)
XYZxyz(16.2922, 11.0948, 43.9222)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AB3 #95B34A
analogous
#4A61B3 #684AB3 #9D4AB3
triadic
#684AB3 #B3684A #4AB368
tetradic
#684AB3 #B34A61 #95B34A #4AB39D
square
#684AB3 #B34A61 #95B34A #4AB39D
split-complementary
#684AB3 #B39D4A #61B34A
monochromatic
#36265C #4F3888 #684AB3 #8C74C6 #B0A0D8

Accessibility & contrast

On white

6.52
#684AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#684AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AB3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AB3#FFFFFF#000000##FFFFFF
##684AB31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035FB6
Deuteranopia (green-blind)
#145CB1
Tritanopia (blue-blind)
#546177
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ab3;
/* rgb */ color: rgb(104, 74, 179);
/* oklch */ color: oklch(49.6% 0.160 292.8);
Tailwind
colors: {
  custom: {
    50: '#987eca',
    500: '#684ab3',
    950: '#000000',
  },
}
SCSS
$custom: #684ab3;
$custom-light: #987eca;
$custom-dark: #000000;
JSON
{
  "hex": "#684ab3",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 257.143,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49629,
    "c": 0.15964,
    "h": 292.8
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#684AB3
secondary
#B7C494
accent
#D156AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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