#684D7C#684D7C

#684D7C is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.8% C 0.080 H 309.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#684D7C
RGBrgb(104, 77, 124)
HSLhsl(274, 23%, 39%)
HSVhsv(274, 38%, 49%)
CMYKcmyk(16.1%, 37.9%, 0%, 51.4%)
CIE-LABlab(37.31, 21.05, -22.35)
CIE-LCHlch(37.31, 30.70, 313.28°)
OKLaboklab(46.8% 0.0516 -0.0617)
OKLCHoklch(46.8% 0.08 309.9)
XYZxyz(12.0002, 9.7062, 20.3062)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684D7C #617C4D
analogous
#514D7C #684D7C #7C4D79
triadic
#684D7C #7C684D #4D7C68
tetradic
#684D7C #7C514D #617C4D #4D797C
square
#684D7C #7C514D #617C4D #4D797C
split-complementary
#684D7C #797C4D #4D7C51
monochromatic
#291E30 #483656 #684D7C #8766A0 #A58CB8

Accessibility & contrast

On white

7.14
#684D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#684D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684D7C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684D7C#FFFFFF#000000##FFFFFF
##684D7C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577E
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#66545F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684d7c;
/* rgb */ color: rgb(104, 77, 124);
/* oklch */ color: oklch(46.8% 0.080 309.9);
Tailwind
colors: {
  custom: {
    50: '#947fa2',
    500: '#684d7c',
    950: '#000000',
  },
}
SCSS
$custom: #684d7c;
$custom-light: #947fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#684d7c",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 274.468,
    "s": 23.383,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.08038,
    "h": 309.9
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#684D7C
secondary
#90A481
accent
#C0688D
background
#F9F7FA
surface
#F1EEF3
border
#CBC9CD
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #684D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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