#684ED9#684ED9

#684ED9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.1% C 0.202 H 285.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#684ED9
RGBrgb(104, 78, 217)
HSLhsl(251, 65%, 58%)
HSVhsv(251, 64%, 85%)
CMYKcmyk(52.1%, 64.1%, 0%, 14.9%)
CIE-LABlab(43.36, 46.19, -67.86)
CIE-LCHlch(43.36, 82.09, 304.24°)
OKLaboklab(53.14% 0.0552 -0.1947)
OKLCHoklch(53.14% 0.202 285.8)
XYZxyz(20.9540, 13.4005, 67.1146)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ED9 #BFD94E
analogous
#4E79D9 #684ED9 #AD4ED9
triadic
#684ED9 #D9684E #4ED968
tetradic
#684ED9 #D94E79 #BFD94E #4ED9AD
square
#684ED9 #D94E79 #BFD94E #4ED9AD
split-complementary
#684ED9 #D9AD4E #79D94E
monochromatic
#331F8E #4629C0 #684ED9 #9380E4 #BEB3EF

Accessibility & contrast

On white

5.71
#684ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#684ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ED9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ED9#FFFFFF#000000##FFFFFF
##684ED91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#3B708C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684ed9;
/* rgb */ color: rgb(104, 78, 217);
/* oklch */ color: oklch(53.1% 0.202 285.8);
Tailwind
colors: {
  custom: {
    50: '#9d81e6',
    500: '#684ed9',
    950: '#000000',
  },
}
SCSS
$custom: #684ed9;
$custom-light: #9d81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#684ed9",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 251.223,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53138,
    "c": 0.20241,
    "h": 285.8
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#684ED9
secondary
#D3DDA6
accent
#E840C8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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