#684BB7#684BB7

#684BB7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.163 H 291.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#684BB7
RGBrgb(104, 75, 183)
HSLhsl(256, 43%, 51%)
HSVhsv(256, 59%, 72%)
CMYKcmyk(43.2%, 59%, 0%, 28.2%)
CIE-LABlab(40.24, 38.04, -53.23)
CIE-LCHlch(40.24, 65.42, 305.55°)
OKLaboklab(50.08% 0.0607 -0.1517)
OKLCHoklch(50.08% 0.163 291.8)
XYZxyz(16.7699, 11.3936, 46.1062)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BB7 #9AB74B
analogous
#4B64B7 #684BB7 #9E4BB7
triadic
#684BB7 #B7684B #4BB768
tetradic
#684BB7 #B74B64 #9AB74B #4BB79E
square
#684BB7 #B74B64 #9AB74B #4BB79E
split-complementary
#684BB7 #B79E4B #64B74B
monochromatic
#362761 #4F388D #684BB7 #8D77C8 #B1A2DA

Accessibility & contrast

On white

6.40
#684BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#684BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BB7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BB7#FFFFFF#000000##FFFFFF
##684BB71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0B5DB5
Tritanopia (blue-blind)
#52637A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684bb7;
/* rgb */ color: rgb(104, 75, 183);
/* oklch */ color: oklch(50.1% 0.163 291.8);
Tailwind
colors: {
  custom: {
    50: '#987ecd',
    500: '#684bb7',
    950: '#000000',
  },
}
SCSS
$custom: #684bb7;
$custom-light: #987ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#684bb7",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 256.111,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.16338,
    "h": 291.8
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#684BB7
secondary
#BAC797
accent
#D355B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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