#684EB5#684EB5

#684EB5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.156 H 291.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#684EB5
RGBrgb(104, 78, 181)
HSLhsl(255, 41%, 51%)
HSVhsv(255, 57%, 71%)
CMYKcmyk(42.5%, 56.9%, 0%, 29%)
CIE-LABlab(40.78, 35.70, -51.18)
CIE-LCHlch(40.78, 62.40, 304.90°)
OKLaboklab(50.44% 0.0571 -0.1457)
OKLCHoklch(50.44% 0.156 291.4)
XYZxyz(16.7715, 11.7275, 45.0871)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB5 #9BB54E
analogous
#4E67B5 #684EB5 #9C4EB5
triadic
#684EB5 #B5684E #4EB568
tetradic
#684EB5 #B54E67 #9BB54E #4EB59C
square
#684EB5 #B54E67 #9BB54E #4EB59C
split-complementary
#684EB5 #B59C4E #67B54E
monochromatic
#362860 #4F3A8B #684EB5 #8D79C7 #B2A4D9

Accessibility & contrast

On white

6.28
#684EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684EB5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EB5#FFFFFF#000000##FFFFFF
##684EB51.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362B8
Deuteranopia (green-blind)
#1B5EB3
Tritanopia (blue-blind)
#52647A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684eb5;
/* rgb */ color: rgb(104, 78, 181);
/* oklch */ color: oklch(50.4% 0.156 291.4);
Tailwind
colors: {
  custom: {
    50: '#9880cc',
    500: '#684eb5',
    950: '#000000',
  },
}
SCSS
$custom: #684eb5;
$custom-light: #9880cc;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb5",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 255.146,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.15646,
    "h": 291.4
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#684EB5
secondary
#BBC699
accent
#D157B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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