#684EB6#684EB6

#684EB6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.158 H 291.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#684EB6
RGBrgb(104, 78, 182)
HSLhsl(255, 42%, 51%)
HSVhsv(255, 57%, 71%)
CMYKcmyk(42.9%, 57.1%, 0%, 28.6%)
CIE-LABlab(40.85, 35.99, -51.66)
CIE-LCHlch(40.85, 62.96, 304.87°)
OKLaboklab(50.51% 0.0571 -0.1471)
OKLCHoklch(50.51% 0.158 291.2)
XYZxyz(16.8745, 11.7687, 45.6294)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB6 #9CB64E
analogous
#4E68B6 #684EB6 #9C4EB6
triadic
#684EB6 #B6684E #4EB668
tetradic
#684EB6 #B64E68 #9CB64E #4EB69C
square
#684EB6 #B64E68 #9CB64E #4EB69C
split-complementary
#684EB6 #B69C4E #68B64E
monochromatic
#362861 #4F3A8D #684EB6 #8D79C8 #B2A5DA

Accessibility & contrast

On white

6.26
#684EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#684EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EB6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EB6#FFFFFF#000000##FFFFFF
##684EB61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1162B9
Deuteranopia (green-blind)
#195EB4
Tritanopia (blue-blind)
#52657A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684eb6;
/* rgb */ color: rgb(104, 78, 182);
/* oklch */ color: oklch(50.5% 0.158 291.2);
Tailwind
colors: {
  custom: {
    50: '#9880cc',
    500: '#684eb6',
    950: '#000000',
  },
}
SCSS
$custom: #684eb6;
$custom-light: #9880cc;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb6",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 255,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50507,
    "c": 0.15777,
    "h": 291.2
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#684EB6
secondary
#BBC799
accent
#D156B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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