#684F89#684F89

#684F89 is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.9% C 0.095 H 302.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#684F89
RGBrgb(104, 79, 137)
HSLhsl(266, 27%, 42%)
HSVhsv(266, 42%, 54%)
CMYKcmyk(24.1%, 42.3%, 0%, 46.3%)
CIE-LABlab(38.45, 23.05, -28.55)
CIE-LCHlch(38.45, 36.69, 308.92°)
OKLaboklab(47.87% 0.0514 -0.0795)
OKLCHoklch(47.87% 0.095 302.9)
XYZxyz(13.0193, 10.3412, 24.9722)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684F89 #70894F
analogous
#4F5389 #684F89 #854F89
triadic
#684F89 #89684F #4F8968
tetradic
#684F89 #894F53 #70894F #4F8985
square
#684F89 #894F53 #70894F #4F8985
split-complementary
#684F89 #89854F #53894F
monochromatic
#2D223B #4B3962 #684F89 #866BAA #A692C0

Accessibility & contrast

On white

6.84
#684F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#684F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684F89
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684F89#FFFFFF#000000##FFFFFF
##684F891.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8B
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#625965
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684f89;
/* rgb */ color: rgb(104, 79, 137);
/* oklch */ color: oklch(47.9% 0.095 302.9);
Tailwind
colors: {
  custom: {
    50: '#9480ab',
    500: '#684f89',
    950: '#000000',
  },
}
SCSS
$custom: #684f89;
$custom-light: #9480ab;
$custom-dark: #000000;
JSON
{
  "hex": "#684f89",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 265.862,
    "s": 26.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.09466,
    "h": 302.9
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#684F89
secondary
#9DAD87
accent
#C3659A
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #684F89

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

Preview Lab → · Contrast checker → · Palette generator →

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