#684EE2#684EE2

#684EE2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.213 H 284.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#684EE2
RGBrgb(104, 78, 226)
HSLhsl(251, 72%, 60%)
HSVhsv(251, 65%, 89%)
CMYKcmyk(54%, 65.5%, 0%, 11.4%)
CIE-LABlab(44.06, 48.83, -71.85)
CIE-LCHlch(44.06, 86.87, 304.20°)
OKLaboklab(53.86% 0.0542 -0.2064)
OKLCHoklch(53.86% 0.213 284.7)
XYZxyz(22.1566, 13.8816, 73.4487)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EE2 #C8E24E
analogous
#4E7EE2 #684EE2 #B24EE2
triadic
#684EE2 #E2684E #4EE268
tetradic
#684EE2 #E24E7E #C8E24E #4EE2B2
square
#684EE2 #E24E7E #C8E24E #4EE2B2
split-complementary
#684EE2 #E2B24E #7EE24E
monochromatic
#301A9C #4122D1 #684EE2 #9583EB #C2B7F3

Accessibility & contrast

On white

5.56
#684EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#684EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EE2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EE2#FFFFFF#000000##FFFFFF
##684EE21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#327391
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684ee2;
/* rgb */ color: rgb(104, 78, 226);
/* oklch */ color: oklch(53.9% 0.213 284.7);
Tailwind
colors: {
  custom: {
    50: '#9e81ec',
    500: '#684ee2',
    950: '#000000',
  },
}
SCSS
$custom: #684ee2;
$custom-light: #9e81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#684ee2",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 250.541,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.21343,
    "h": 284.7
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#684EE2
secondary
#D9E3A9
accent
#EF39CF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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