#684D99#684D99

#684D99 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.4% C 0.120 H 298.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#684D99
RGBrgb(104, 77, 153)
HSLhsl(261, 33%, 45%)
HSVhsv(261, 50%, 60%)
CMYKcmyk(32%, 49.7%, 0%, 40%)
CIE-LABlab(38.81, 28.49, -37.66)
CIE-LCHlch(38.81, 47.23, 307.11°)
OKLaboklab(48.42% 0.0568 -0.106)
OKLCHoklch(48.42% 0.12 298.2)
XYZxyz(14.1112, 10.5506, 31.4238)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684D99 #7E994D
analogous
#4D5899 #684D99 #8E4D99
triadic
#684D99 #99684D #4D9968
tetradic
#684D99 #994D58 #7E994D #4D998E
square
#684D99 #994D58 #7E994D #4D998E
split-complementary
#684D99 #998E4D #58994D
monochromatic
#312448 #4C3970 #684D99 #876DB6 #A996CA

Accessibility & contrast

On white

6.75
#684D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#684D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684D99
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684D99#FFFFFF#000000##FFFFFF
##684D991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9C
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#5E5B6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684d99;
/* rgb */ color: rgb(104, 77, 153);
/* oklch */ color: oklch(48.4% 0.120 298.2);
Tailwind
colors: {
  custom: {
    50: '#957fb7',
    500: '#684d99',
    950: '#000000',
  },
}
SCSS
$custom: #684d99;
$custom-light: #957fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#684d99",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 261.316,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.12029,
    "h": 298.2
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#684D99
secondary
#A7B78B
accent
#C95FA3
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684D99

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

Preview Lab → · Contrast checker → · Palette generator →

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