#684AA5#684AA5

#684AA5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.7% C 0.141 H 295.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#684AA5
RGBrgb(104, 74, 165)
HSLhsl(260, 38%, 47%)
HSVhsv(260, 55%, 65%)
CMYKcmyk(37%, 55.2%, 0%, 35.3%)
CIE-LABlab(38.82, 33.58, -44.84)
CIE-LCHlch(38.82, 56.02, 306.83°)
OKLaboklab(48.66% 0.0618 -0.1271)
OKLCHoklch(48.66% 0.141 295.9)
XYZxyz(14.9475, 10.5570, 36.8402)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AA5 #87A54A
analogous
#4A5AA5 #684AA5 #964AA5
triadic
#684AA5 #A5684A #4AA568
tetradic
#684AA5 #A54A5A #87A54A #4AA596
square
#684AA5 #A54A5A #87A54A #4AA596
split-complementary
#684AA5 #A5964A #5AA54A
monochromatic
#332450 #4D377B #684AA5 #886EBE #AB98D1

Accessibility & contrast

On white

6.75
#684AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#684AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AA5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AA5#FFFFFF#000000##FFFFFF
##684AA51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#5A5D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684aa5;
/* rgb */ color: rgb(104, 74, 165);
/* oklch */ color: oklch(48.7% 0.141 295.9);
Tailwind
colors: {
  custom: {
    50: '#977dc0',
    500: '#684aa5',
    950: '#000000',
  },
}
SCSS
$custom: #684aa5;
$custom-light: #977dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#684aa5",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 259.78,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.14128,
    "h": 295.9
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#684AA5
secondary
#AEBD8E
accent
#CE5AA8
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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