#684CB6#684CB6

#684CB6 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.161 H 291.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#684CB6
RGBrgb(104, 76, 182)
HSLhsl(256, 42%, 51%)
HSVhsv(256, 58%, 71%)
CMYKcmyk(42.9%, 58.2%, 0%, 28.6%)
CIE-LABlab(40.39, 37.17, -52.39)
CIE-LCHlch(40.39, 64.24, 305.36°)
OKLaboklab(50.17% 0.0595 -0.1492)
OKLCHoklch(50.17% 0.161 291.7)
XYZxyz(16.7345, 11.4888, 45.5828)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB6 #9AB64C
analogous
#4C65B6 #684CB6 #9D4CB6
triadic
#684CB6 #B6684C #4CB668
tetradic
#684CB6 #B64C65 #9AB64C #4CB69D
square
#684CB6 #B64C65 #9AB64C #4CB69D
split-complementary
#684CB6 #B69D4C #65B64C
monochromatic
#362760 #4F398C #684CB6 #8D77C8 #B1A3D9

Accessibility & contrast

On white

6.37
#684CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#684CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB6#FFFFFF#000000##FFFFFF
##684CB61.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0461BA
Deuteranopia (green-blind)
#135DB4
Tritanopia (blue-blind)
#526379
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684cb6;
/* rgb */ color: rgb(104, 76, 182);
/* oklch */ color: oklch(50.2% 0.161 291.7);
Tailwind
colors: {
  custom: {
    50: '#987fcd',
    500: '#684cb6',
    950: '#000000',
  },
}
SCSS
$custom: #684cb6;
$custom-light: #987fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb6",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 255.849,
    "s": 42.063,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.16066,
    "h": 291.7
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#684CB6
secondary
#BAC697
accent
#D256B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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