#684EB9#684EB9

#684EB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.162 H 290.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#684EB9
RGBrgb(104, 78, 185)
HSLhsl(255, 43%, 52%)
HSVhsv(255, 58%, 73%)
CMYKcmyk(43.8%, 57.8%, 0%, 27.5%)
CIE-LABlab(41.05, 36.85, -53.09)
CIE-LCHlch(41.05, 64.63, 304.77°)
OKLaboklab(50.72% 0.0571 -0.1513)
OKLCHoklch(50.72% 0.162 290.7)
XYZxyz(17.1878, 11.8940, 47.2797)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB9 #9FB94E
analogous
#4E6AB9 #684EB9 #9E4EB9
triadic
#684EB9 #B9684E #4EB968
tetradic
#684EB9 #B94E6A #9FB94E #4EB99E
square
#684EB9 #B94E6A #9FB94E #4EB99E
split-complementary
#684EB9 #B99E4E #6AB94E
monochromatic
#372865 #4E3991 #684EB9 #8D7ACA #B3A6DC

Accessibility & contrast

On white

6.21
#684EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#684EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EB9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EB9#FFFFFF#000000##FFFFFF
##684EB91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0663BD
Deuteranopia (green-blind)
#115EB7
Tritanopia (blue-blind)
#50667C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684eb9;
/* rgb */ color: rgb(104, 78, 185);
/* oklch */ color: oklch(50.7% 0.162 290.7);
Tailwind
colors: {
  custom: {
    50: '#9880cf',
    500: '#684eb9',
    950: '#000000',
  },
}
SCSS
$custom: #684eb9;
$custom-light: #9880cf;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb9",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 254.579,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.16171,
    "h": 290.7
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#684EB9
secondary
#BDC99A
accent
#D355B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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