#684AA6#684AA6

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

Color values

HEX#684AA6
RGBrgb(104, 74, 166)
HSLhsl(260, 38%, 47%)
HSVhsv(260, 55%, 65%)
CMYKcmyk(37.3%, 55.4%, 0%, 34.9%)
CIE-LABlab(38.89, 33.85, -45.34)
CIE-LCHlch(38.89, 56.58, 306.75°)
OKLaboklab(48.73% 0.0618 -0.1285)
OKLCHoklch(48.73% 0.143 295.7)
XYZxyz(15.0389, 10.5935, 37.3214)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AA6 #88A64A
analogous
#4A5AA6 #684AA6 #964AA6
triadic
#684AA6 #A6684A #4AA668
tetradic
#684AA6 #A64A5A #88A64A #4AA696
square
#684AA6 #A64A5A #88A64A #4AA696
split-complementary
#684AA6 #A6964A #5AA64A
monochromatic
#332451 #4D377C #684AA6 #896FBF #AB99D1

Accessibility & contrast

On white

6.73
#684AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#684AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AA6
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AA6#FFFFFF#000000##FFFFFF
##684AA61.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#2A5AA4
Tritanopia (blue-blind)
#595D71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684aa6;
/* rgb */ color: rgb(104, 74, 166);
/* oklch */ color: oklch(48.7% 0.143 295.7);
Tailwind
colors: {
  custom: {
    50: '#977dc1',
    500: '#684aa6',
    950: '#000000',
  },
}
SCSS
$custom: #684aa6;
$custom-light: #977dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#684aa6",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 259.565,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.1426,
    "h": 295.7
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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