#684FA7#684FA7

#684FA7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.136 H 294.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#684FA7
RGBrgb(104, 79, 167)
HSLhsl(257, 36%, 48%)
HSVhsv(257, 53%, 65%)
CMYKcmyk(37.7%, 52.7%, 0%, 34.5%)
CIE-LABlab(40.12, 31.14, -43.95)
CIE-LCHlch(40.12, 53.86, 305.31°)
OKLaboklab(49.66% 0.0553 -0.1244)
OKLCHoklch(49.66% 0.136 294)
XYZxyz(15.4781, 11.3247, 37.9221)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA7 #8EA74F
analogous
#4F62A7 #684FA7 #944FA7
triadic
#684FA7 #A7684F #4FA768
tetradic
#684FA7 #A74F62 #8EA74F #4FA794
square
#684FA7 #A74F62 #8EA74F #4FA794
split-complementary
#684FA7 #A7944F #62A74F
monochromatic
#342854 #4E3B7D #684FA7 #8A75BE #AD9FD2

Accessibility & contrast

On white

6.43
#684FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#684FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA7#FFFFFF#000000##FFFFFF
##684FA71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FAA
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#586173
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684fa7;
/* rgb */ color: rgb(104, 79, 167);
/* oklch */ color: oklch(49.7% 0.136 294.0);
Tailwind
colors: {
  custom: {
    50: '#9781c2',
    500: '#684fa7',
    950: '#000000',
  },
}
SCSS
$custom: #684fa7;
$custom-light: #9781c2;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa7",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 257.045,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.13619,
    "h": 294
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#684FA7
secondary
#B2BE93
accent
#CC5CAC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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