#684D97#684D97

#684D97 is a mid, moderate violet. Relative luminance 0.105; OKLCH L 48.3% C 0.118 H 298.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#684D97
RGBrgb(104, 77, 151)
HSLhsl(262, 32%, 45%)
HSVhsv(262, 49%, 59%)
CMYKcmyk(31.1%, 49%, 0%, 40.8%)
CIE-LABlab(38.70, 27.95, -36.64)
CIE-LCHlch(38.70, 46.09, 307.34°)
OKLaboklab(48.3% 0.0566 -0.103)
OKLCHoklch(48.3% 0.118 298.8)
XYZxyz(13.9474, 10.4851, 30.5612)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684D97 #7C974D
analogous
#4D5797 #684D97 #8D4D97
triadic
#684D97 #97684D #4D9768
tetradic
#684D97 #974D57 #7C974D #4D978D
square
#684D97 #974D57 #7C974D #4D978D
split-complementary
#684D97 #978D4D #57974D
monochromatic
#302446 #4C386E #684D97 #876DB4 #A895C9

Accessibility & contrast

On white

6.78
#684D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#684D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684D97
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684D97#FFFFFF#000000##FFFFFF
##684D971.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#5E5B6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684d97;
/* rgb */ color: rgb(104, 77, 151);
/* oklch */ color: oklch(48.3% 0.118 298.8);
Tailwind
colors: {
  custom: {
    50: '#957fb6',
    500: '#684d97',
    950: '#000000',
  },
}
SCSS
$custom: #684d97;
$custom-light: #957fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#684d97",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 261.892,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.11755,
    "h": 298.8
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#684D97
secondary
#A6B68A
accent
#C95FA2
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684D97

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

Preview Lab → · Contrast checker → · Palette generator →

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