#684DB5#684DB5

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

Color values

HEX#684DB5
RGBrgb(104, 77, 181)
HSLhsl(256, 41%, 51%)
HSVhsv(256, 57%, 71%)
CMYKcmyk(42.5%, 57.5%, 0%, 29%)
CIE-LABlab(40.55, 36.30, -51.54)
CIE-LCHlch(40.55, 63.04, 305.15°)
OKLaboklab(50.27% 0.0583 -0.1467)
OKLCHoklch(50.27% 0.158 291.7)
XYZxyz(16.7010, 11.5865, 45.0636)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DB5 #9AB54D
analogous
#4D66B5 #684DB5 #9C4DB5
triadic
#684DB5 #B5684D #4DB568
tetradic
#684DB5 #B54D66 #9AB54D #4DB59C
square
#684DB5 #B54D66 #9AB54D #4DB59C
split-complementary
#684DB5 #B59C4D #66B54D
monochromatic
#362860 #4F3A8B #684DB5 #8D78C7 #B1A3D9

Accessibility & contrast

On white

6.33
#684DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#684DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DB5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DB5#FFFFFF#000000##FFFFFF
##684DB51.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#185DB3
Tritanopia (blue-blind)
#536479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684db5;
/* rgb */ color: rgb(104, 77, 181);
/* oklch */ color: oklch(50.3% 0.158 291.7);
Tailwind
colors: {
  custom: {
    50: '#9880cc',
    500: '#684db5',
    950: '#000000',
  },
}
SCSS
$custom: #684db5;
$custom-light: #9880cc;
$custom-dark: #000000;
JSON
{
  "hex": "#684db5",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 255.577,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.1579,
    "h": 291.7
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#684DB5
secondary
#BAC698
accent
#D157B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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