#684CA6#684CA6

#684CA6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.1% C 0.140 H 295.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#684CA6
RGBrgb(104, 76, 166)
HSLhsl(259, 37%, 47%)
HSVhsv(259, 54%, 65%)
CMYKcmyk(37.3%, 54.2%, 0%, 34.9%)
CIE-LABlab(39.35, 32.66, -44.59)
CIE-LCHlch(39.35, 55.27, 306.22°)
OKLaboklab(49.07% 0.0592 -0.1263)
OKLCHoklch(49.07% 0.14 295.1)
XYZxyz(15.1745, 10.8648, 37.3666)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CA6 #8AA64C
analogous
#4C5DA6 #684CA6 #954CA6
triadic
#684CA6 #A6684C #4CA668
tetradic
#684CA6 #A64C5D #8AA64C #4CA695
square
#684CA6 #A64C5D #8AA64C #4CA695
split-complementary
#684CA6 #A6954C #5DA64C
monochromatic
#332652 #4E397C #684CA6 #8971BE #AC9BD1

Accessibility & contrast

On white

6.62
#684CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#684CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CA6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CA6#FFFFFF#000000##FFFFFF
##684CA61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA9
Deuteranopia (green-blind)
#2D5BA4
Tritanopia (blue-blind)
#595E71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684ca6;
/* rgb */ color: rgb(104, 76, 166);
/* oklch */ color: oklch(49.1% 0.140 295.1);
Tailwind
colors: {
  custom: {
    50: '#977fc1',
    500: '#684ca6',
    950: '#000000',
  },
}
SCSS
$custom: #684ca6;
$custom-light: #977fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#684ca6",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 258.667,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.13951,
    "h": 295.1
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#684CA6
secondary
#B0BE90
accent
#CD5BAA
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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