#684BB1#684BB1

#684BB1 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.156 H 293.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#684BB1
RGBrgb(104, 75, 177)
HSLhsl(257, 40%, 49%)
HSVhsv(257, 58%, 69%)
CMYKcmyk(41.2%, 57.6%, 0%, 30.6%)
CIE-LABlab(39.83, 36.34, -50.35)
CIE-LCHlch(39.83, 62.09, 305.82°)
OKLaboklab(49.65% 0.0607 -0.1432)
OKLCHoklch(49.65% 0.156 293)
XYZxyz(16.1587, 11.1491, 42.8871)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BB1 #94B14B
analogous
#4B61B1 #684BB1 #9B4BB1
triadic
#684BB1 #B1684B #4BB168
tetradic
#684BB1 #B14B61 #94B14B #4BB19B
square
#684BB1 #B14B61 #94B14B #4BB19B
split-complementary
#684BB1 #B19B4B #61B14B
monochromatic
#35275B #4F3986 #684BB1 #8B75C4 #AFA0D7

Accessibility & contrast

On white

6.50
#684BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#684BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BB1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BB1#FFFFFF#000000##FFFFFF
##684BB11.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB4
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#556177
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684bb1;
/* rgb */ color: rgb(104, 75, 177);
/* oklch */ color: oklch(49.7% 0.156 293.0);
Tailwind
colors: {
  custom: {
    50: '#987ec9',
    500: '#684bb1',
    950: '#000000',
  },
}
SCSS
$custom: #684bb1;
$custom-light: #987ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#684bb1",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 257.059,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.15557,
    "h": 293
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#684BB1
secondary
#B6C394
accent
#D057AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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