#684B9A#684B9A

#684B9A is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.1% C 0.125 H 298.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#684B9A
RGBrgb(104, 75, 154)
HSLhsl(262, 34%, 45%)
HSVhsv(262, 51%, 60%)
CMYKcmyk(32.5%, 51.3%, 0%, 39.6%)
CIE-LABlab(38.39, 29.97, -38.94)
CIE-LCHlch(38.39, 49.14, 307.59°)
OKLaboklab(48.12% 0.0597 -0.1098)
OKLCHoklch(48.12% 0.125 298.5)
XYZxyz(14.0563, 10.3082, 31.8147)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684B9A #7D9A4B
analogous
#4B569A #684B9A #8F4B9A
triadic
#684B9A #9A684B #4B9A68
tetradic
#684B9A #9A4B56 #7D9A4B #4B9A8F
square
#684B9A #9A4B56 #7D9A4B #4B9A8F
split-complementary
#684B9A #9A8F4B #569A4B
monochromatic
#302348 #4C3771 #684B9A #876BB7 #A894CB

Accessibility & contrast

On white

6.86
#684B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#684B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684B9A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684B9A#FFFFFF#000000##FFFFFF
##684B9A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#5D5A6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684b9a;
/* rgb */ color: rgb(104, 75, 154);
/* oklch */ color: oklch(48.1% 0.125 298.5);
Tailwind
colors: {
  custom: {
    50: '#967eb8',
    500: '#684b9a',
    950: '#000000',
  },
}
SCSS
$custom: #684b9a;
$custom-light: #967eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#684b9a",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 262.025,
    "s": 34.498,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.12495,
    "h": 298.5
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#684B9A
secondary
#A6B78A
accent
#CB5DA2
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #684B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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