#684C8A#684C8A

#684C8A is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.4% C 0.101 H 303.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#684C8A
RGBrgb(104, 76, 138)
HSLhsl(267, 29%, 42%)
HSVhsv(267, 45%, 54%)
CMYKcmyk(24.6%, 44.9%, 0%, 45.9%)
CIE-LABlab(37.75, 25.15, -30.26)
CIE-LCHlch(37.75, 39.35, 309.73°)
OKLaboklab(47.35% 0.0561 -0.0845)
OKLCHoklch(47.35% 0.101 303.6)
XYZxyz(12.8798, 9.9469, 25.2812)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684C8A #6E8A4C
analogous
#4C4F8A #684C8A #874C8A
triadic
#684C8A #8A684C #4C8A68
tetradic
#684C8A #8A4C4F #6E8A4C #4C8A87
square
#684C8A #8A4C4F #6E8A4C #4C8A87
split-complementary
#684C8A #8A874C #4F8A4C
monochromatic
#2D213B #4A3663 #684C8A #8668AC #A68FC1

Accessibility & contrast

On white

7.02
#684C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#684C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684C8A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684C8A#FFFFFF#000000##FFFFFF
##684C8A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#625664
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #684c8a;
/* rgb */ color: rgb(104, 76, 138);
/* oklch */ color: oklch(47.4% 0.101 303.6);
Tailwind
colors: {
  custom: {
    50: '#947eac',
    500: '#684c8a',
    950: '#000000',
  },
}
SCSS
$custom: #684c8a;
$custom-light: #947eac;
$custom-dark: #000000;
JSON
{
  "hex": "#684c8a",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 267.097,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.1014,
    "h": 303.6
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#684C8A
secondary
#9BAE84
accent
#C56399
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #684C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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