#684BC6#684BC6

#684BC6 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.183 H 289.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#684BC6
RGBrgb(104, 75, 198)
HSLhsl(254, 52%, 54%)
HSVhsv(254, 62%, 78%)
CMYKcmyk(47.5%, 62.1%, 0%, 22.4%)
CIE-LABlab(41.30, 42.35, -60.27)
CIE-LCHlch(41.30, 73.66, 305.09°)
OKLaboklab(51.19% 0.0599 -0.1724)
OKLCHoklch(51.19% 0.183 289.2)
XYZxyz(18.4151, 12.0517, 54.7710)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC6 #A9C64B
analogous
#4B6BC6 #684BC6 #A54BC6
triadic
#684BC6 #C6684B #4BC668
tetradic
#684BC6 #C64B6B #A9C64B #4BC6A5
square
#684BC6 #C64B6B #A9C64B #4BC6A5
split-complementary
#684BC6 #C6A54B #6BC64B
monochromatic
#372472 #4D33A1 #684BC6 #8F79D5 #B6A8E3

Accessibility & contrast

On white

6.16
#684BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#684BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC6#FFFFFF#000000##FFFFFF
##684BC61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#496881
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684bc6;
/* rgb */ color: rgb(104, 75, 198);
/* oklch */ color: oklch(51.2% 0.183 289.2);
Tailwind
colors: {
  custom: {
    50: '#9a7fd8',
    500: '#684bc6',
    950: '#000000',
  },
}
SCSS
$custom: #684bc6;
$custom-light: #9a7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc6",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 254.146,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.18254,
    "h": 289.2
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#684BC6
secondary
#C4D19C
accent
#DB4CBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #684BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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