#684C84#684C84

#684C84 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.0% C 0.093 H 306.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#684C84
RGBrgb(104, 76, 132)
HSLhsl(270, 27%, 41%)
HSVhsv(270, 42%, 52%)
CMYKcmyk(21.2%, 42.4%, 0%, 48.2%)
CIE-LABlab(37.44, 23.63, -27.07)
CIE-LCHlch(37.44, 35.93, 311.12°)
OKLaboklab(47.02% 0.055 -0.0752)
OKLCHoklch(47.02% 0.093 306.2)
XYZxyz(12.4574, 9.7780, 23.0564)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684C84 #68844C
analogous
#4C4C84 #684C84 #844C84
triadic
#684C84 #84684C #4C8468
tetradic
#684C84 #844C4C #68844C #4C8484
square
#684C84 #844C4C #68844C #4C8484
split-complementary
#684C84 #84844C #4C844C
monochromatic
#2B1F36 #49365D #684C84 #8766A7 #A58DBD

Accessibility & contrast

On white

7.11
#684C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#684C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684C84
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684C84#FFFFFF#000000##FFFFFF
##684C841.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#465882
Tritanopia (blue-blind)
#645561
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684c84;
/* rgb */ color: rgb(104, 76, 132);
/* oklch */ color: oklch(47.0% 0.093 306.2);
Tailwind
colors: {
  custom: {
    50: '#947ea8',
    500: '#684c84',
    950: '#000000',
  },
}
SCSS
$custom: #684c84;
$custom-light: #947ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#684c84",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 132
  },
  "hsl": {
    "h": 270,
    "s": 26.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47022,
    "c": 0.09317,
    "h": 306.2
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#684C84
secondary
#96AA82
accent
#C36594
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #684C84

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

Preview Lab → · Contrast checker → · Palette generator →

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