#684EE1#684EE1

#684EE1 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.212 H 284.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#684EE1
RGBrgb(104, 78, 225)
HSLhsl(251, 71%, 59%)
HSVhsv(251, 65%, 88%)
CMYKcmyk(53.8%, 65.3%, 0%, 11.8%)
CIE-LABlab(43.98, 48.54, -71.41)
CIE-LCHlch(43.98, 86.34, 304.20°)
OKLaboklab(53.78% 0.0543 -0.2051)
OKLCHoklch(53.78% 0.212 284.8)
XYZxyz(22.0198, 13.8268, 72.7281)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EE1 #C7E14E
analogous
#4E7EE1 #684EE1 #B14EE1
triadic
#684EE1 #E1684E #4EE168
tetradic
#684EE1 #E14E7E #C7E14E #4EE1B1
square
#684EE1 #E14E7E #C7E14E #4EE1B1
split-complementary
#684EE1 #E1B14E #7EE14E
monochromatic
#311A9A #4123CF #684EE1 #9582EA #C1B7F3

Accessibility & contrast

On white

5.58
#684EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#684EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EE1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EE1#FFFFFF#000000##FFFFFF
##684EE11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#337391
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684ee1;
/* rgb */ color: rgb(104, 78, 225);
/* oklch */ color: oklch(53.8% 0.212 284.8);
Tailwind
colors: {
  custom: {
    50: '#9e81eb',
    500: '#684ee1',
    950: '#000000',
  },
}
SCSS
$custom: #684ee1;
$custom-light: #9e81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#684ee1",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 250.612,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.21222,
    "h": 284.8
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#684EE1
secondary
#D8E2A9
accent
#EE3ACE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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