#684CD8#684CD8

#684CD8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.8% C 0.204 H 286.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#684CD8
RGBrgb(104, 76, 216)
HSLhsl(252, 64%, 57%)
HSVhsv(252, 65%, 85%)
CMYKcmyk(51.9%, 64.8%, 0%, 15.3%)
CIE-LABlab(42.87, 47.01, -68.10)
CIE-LCHlch(42.87, 82.75, 304.62°)
OKLaboklab(52.76% 0.0572 -0.1954)
OKLCHoklch(52.76% 0.204 286.3)
XYZxyz(20.6843, 13.0688, 66.3851)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD8 #BCD84C
analogous
#4C76D8 #684CD8 #AE4CD8
triadic
#684CD8 #D8684C #4CD868
tetradic
#684CD8 #D84C76 #BCD84C #4CD8AE
square
#684CD8 #D84C76 #BCD84C #4CD8AE
split-complementary
#684CD8 #D8AE4C #76D84C
monochromatic
#341E8B #4729BE #684CD8 #927EE3 #BDB1EE

Accessibility & contrast

On white

5.81
#684CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684CD8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD8#FFFFFF#000000##FFFFFF
##684CD81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#3C6F8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684cd8;
/* rgb */ color: rgb(104, 76, 216);
/* oklch */ color: oklch(52.8% 0.204 286.3);
Tailwind
colors: {
  custom: {
    50: '#9d80e5',
    500: '#684cd8',
    950: '#000000',
  },
}
SCSS
$custom: #684cd8;
$custom-light: #9d80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd8",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 252,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.20362,
    "h": 286.3
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#684CD8
secondary
#D1DCA4
accent
#E741C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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