#684ED8#684ED8

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

Color values

HEX#684ED8
RGBrgb(104, 78, 216)
HSLhsl(251, 64%, 58%)
HSVhsv(251, 64%, 85%)
CMYKcmyk(51.9%, 63.9%, 0%, 15.3%)
CIE-LABlab(43.28, 45.89, -67.42)
CIE-LCHlch(43.28, 81.55, 304.24°)
OKLaboklab(53.06% 0.0553 -0.1934)
OKLCHoklch(53.06% 0.201 286)
XYZxyz(20.8243, 13.3486, 66.4317)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ED8 #BED84E
analogous
#4E79D8 #684ED8 #AD4ED8
triadic
#684ED8 #D8684E #4ED868
tetradic
#684ED8 #D84E79 #BED84E #4ED8AD
square
#684ED8 #D84E79 #BED84E #4ED8AD
split-complementary
#684ED8 #D8AD4E #79D84E
monochromatic
#341F8D #462ABF #684ED8 #9380E3 #BEB2EE

Accessibility & contrast

On white

5.72
#684ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#684ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ED8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ED8#FFFFFF#000000##FFFFFF
##684ED81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#3C708C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684ed8;
/* rgb */ color: rgb(104, 78, 216);
/* oklch */ color: oklch(53.1% 0.201 286.0);
Tailwind
colors: {
  custom: {
    50: '#9c81e5',
    500: '#684ed8',
    950: '#000000',
  },
}
SCSS
$custom: #684ed8;
$custom-light: #9c81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#684ed8",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 251.304,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.20117,
    "h": 286
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#684ED8
secondary
#D2DDA5
accent
#E741C8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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