#684DB6#684DB6

#684DB6 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.159 H 291.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#684DB6
RGBrgb(104, 77, 182)
HSLhsl(255, 42%, 51%)
HSVhsv(255, 58%, 71%)
CMYKcmyk(42.9%, 57.7%, 0%, 28.6%)
CIE-LABlab(40.62, 36.58, -52.02)
CIE-LCHlch(40.62, 63.60, 305.11°)
OKLaboklab(50.34% 0.0583 -0.1482)
OKLCHoklch(50.34% 0.159 291.5)
XYZxyz(16.8040, 11.6277, 45.6059)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DB6 #9BB64D
analogous
#4D66B6 #684DB6 #9D4DB6
triadic
#684DB6 #B6684D #4DB668
tetradic
#684DB6 #B64D66 #9BB64D #4DB69D
square
#684DB6 #B64D66 #9BB64D #4DB69D
split-complementary
#684DB6 #B69D4D #66B64D
monochromatic
#362861 #4F3A8C #684DB6 #8D78C8 #B2A4DA

Accessibility & contrast

On white

6.31
#684DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#684DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DB6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DB6#FFFFFF#000000##FFFFFF
##684DB61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B61B9
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#52647A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684db6;
/* rgb */ color: rgb(104, 77, 182);
/* oklch */ color: oklch(50.3% 0.159 291.5);
Tailwind
colors: {
  custom: {
    50: '#9880cc',
    500: '#684db6',
    950: '#000000',
  },
}
SCSS
$custom: #684db6;
$custom-light: #9880cc;
$custom-dark: #000000;
JSON
{
  "hex": "#684db6",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 255.429,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.15921,
    "h": 291.5
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#684DB6
secondary
#BBC798
accent
#D256B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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