#684ED6#684ED6

#684ED6 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.199 H 286.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#684ED6
RGBrgb(104, 78, 214)
HSLhsl(251, 62%, 57%)
HSVhsv(251, 64%, 84%)
CMYKcmyk(51.4%, 63.6%, 0%, 16.1%)
CIE-LABlab(43.13, 45.30, -66.52)
CIE-LCHlch(43.13, 80.48, 304.26°)
OKLaboklab(52.9% 0.0555 -0.1908)
OKLCHoklch(52.9% 0.199 286.2)
XYZxyz(20.5673, 13.2458, 65.0783)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ED6 #BCD64E
analogous
#4E78D6 #684ED6 #AC4ED6
triadic
#684ED6 #D6684E #4ED668
tetradic
#684ED6 #D64E78 #BCD64E #4ED6AC
square
#684ED6 #D64E78 #BCD64E #4ED6AC
split-complementary
#684ED6 #D6AC4E #78D64E
monochromatic
#34208A #472BBB #684ED6 #9280E2 #BDB1ED

Accessibility & contrast

On white

5.75
#684ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#684ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ED6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ED6#FFFFFF#000000##FFFFFF
##684ED61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#3E6F8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684ed6;
/* rgb */ color: rgb(104, 78, 214);
/* oklch */ color: oklch(52.9% 0.199 286.2);
Tailwind
colors: {
  custom: {
    50: '#9c81e4',
    500: '#684ed6',
    950: '#000000',
  },
}
SCSS
$custom: #684ed6;
$custom-light: #9c81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#684ed6",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 251.471,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.529,
    "c": 0.1987,
    "h": 286.2
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#684ED6
secondary
#D1DBA4
accent
#E542C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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