#684FB9#684FB9

#684FB9 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.160 H 290.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#684FB9
RGBrgb(104, 79, 185)
HSLhsl(254, 43%, 52%)
HSVhsv(254, 57%, 73%)
CMYKcmyk(43.8%, 57.3%, 0%, 27.5%)
CIE-LABlab(41.28, 36.26, -52.72)
CIE-LCHlch(41.28, 63.99, 304.52°)
OKLaboklab(50.89% 0.0559 -0.1502)
OKLCHoklch(50.89% 0.16 290.4)
XYZxyz(17.2594, 12.0372, 47.3036)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB9 #A0B94F
analogous
#4F6BB9 #684FB9 #9D4FB9
triadic
#684FB9 #B9684F #4FB968
tetradic
#684FB9 #B94F6B #A0B94F #4FB99D
square
#684FB9 #B94F6B #A0B94F #4FB99D
split-complementary
#684FB9 #B99D4F #6BB94F
monochromatic
#372865 #4E3A91 #684FB9 #8E7BCA #B3A7DC

Accessibility & contrast

On white

6.16
#684FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#684FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FB9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB9#FFFFFF#000000##FFFFFF
##684FB91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D63BD
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#50667C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684fb9;
/* rgb */ color: rgb(104, 79, 185);
/* oklch */ color: oklch(50.9% 0.160 290.4);
Tailwind
colors: {
  custom: {
    50: '#9881cf',
    500: '#684fb9',
    950: '#000000',
  },
}
SCSS
$custom: #684fb9;
$custom-light: #9881cf;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb9",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 254.151,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.16028,
    "h": 290.4
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#684FB9
secondary
#BEC99B
accent
#D355B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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