#684ED7#684ED7

#684ED7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.200 H 286.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#684ED7
RGBrgb(104, 78, 215)
HSLhsl(251, 63%, 57%)
HSVhsv(251, 64%, 84%)
CMYKcmyk(51.6%, 63.7%, 0%, 15.7%)
CIE-LABlab(43.21, 45.60, -66.97)
CIE-LCHlch(43.21, 81.02, 304.25°)
OKLaboklab(52.98% 0.0554 -0.1921)
OKLCHoklch(52.98% 0.2 286.1)
XYZxyz(20.6954, 13.2971, 65.7529)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ED7 #BDD74E
analogous
#4E78D7 #684ED7 #AD4ED7
triadic
#684ED7 #D7684E #4ED768
tetradic
#684ED7 #D74E78 #BDD74E #4ED7AD
square
#684ED7 #D74E78 #BDD74E #4ED7AD
split-complementary
#684ED7 #D7AD4E #78D74E
monochromatic
#341F8B #472BBD #684ED7 #9380E2 #BDB2EE

Accessibility & contrast

On white

5.74
#684ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#684ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ED7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ED7#FFFFFF#000000##FFFFFF
##684ED71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#3D6F8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684ed7;
/* rgb */ color: rgb(104, 78, 215);
/* oklch */ color: oklch(53.0% 0.200 286.1);
Tailwind
colors: {
  custom: {
    50: '#9c81e4',
    500: '#684ed7',
    950: '#000000',
  },
}
SCSS
$custom: #684ed7;
$custom-light: #9c81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#684ed7",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 251.387,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.19994,
    "h": 286.1
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#684ED7
secondary
#D2DCA5
accent
#E642C7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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