#684ED2#684ED2

#684ED2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.194 H 286.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#684ED2
RGBrgb(104, 78, 210)
HSLhsl(252, 59%, 56%)
HSVhsv(252, 63%, 82%)
CMYKcmyk(50.5%, 62.9%, 0%, 17.6%)
CIE-LABlab(42.83, 44.13, -64.71)
CIE-LCHlch(42.83, 78.33, 304.29°)
OKLaboklab(52.59% 0.0559 -0.1855)
OKLCHoklch(52.59% 0.194 286.8)
XYZxyz(20.0627, 13.0440, 62.4209)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ED2 #B8D24E
analogous
#4E76D2 #684ED2 #AA4ED2
triadic
#684ED2 #D2684E #4ED268
tetradic
#684ED2 #D24E76 #B8D24E #4ED2AA
square
#684ED2 #D24E76 #B8D24E #4ED2AA
split-complementary
#684ED2 #D2AA4E #76D24E
monochromatic
#352284 #492EB5 #684ED2 #927FDE #BBB0EB

Accessibility & contrast

On white

5.82
#684ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#684ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ED2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ED2#FFFFFF#000000##FFFFFF
##684ED21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#416E89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684ed2;
/* rgb */ color: rgb(104, 78, 210);
/* oklch */ color: oklch(52.6% 0.194 286.8);
Tailwind
colors: {
  custom: {
    50: '#9c81e1',
    500: '#684ed2',
    950: '#000000',
  },
}
SCSS
$custom: #684ed2;
$custom-light: #9c81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#684ed2",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 251.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.19371,
    "h": 286.8
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#684ED2
secondary
#CED9A3
accent
#E345C4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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