#684A89#684A89

#684A89 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.9% C 0.104 H 304.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#684A89
RGBrgb(104, 74, 137)
HSLhsl(269, 30%, 41%)
HSVhsv(269, 46%, 54%)
CMYKcmyk(24.1%, 46%, 0%, 46.3%)
CIE-LABlab(37.20, 26.12, -30.51)
CIE-LCHlch(37.20, 40.16, 310.57°)
OKLaboklab(46.93% 0.059 -0.0852)
OKLCHoklch(46.93% 0.104 304.7)
XYZxyz(12.6721, 9.6468, 24.8565)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A89 #6B894A
analogous
#4A4C89 #684A89 #884A89
triadic
#684A89 #89684A #4A8968
tetradic
#684A89 #894A4C #6B894A #4A8988
square
#684A89 #894A4C #6B894A #4A8988
split-complementary
#684A89 #89884A #4C894A
monochromatic
#2C1F3A #4A3561 #684A89 #8665AC #A58CC1

Accessibility & contrast

On white

7.17
#684A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#684A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684A89
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A89#FFFFFF#000000##FFFFFF
##684A891.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578B
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#635563
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #684a89;
/* rgb */ color: rgb(104, 74, 137);
/* oklch */ color: oklch(46.9% 0.104 304.7);
Tailwind
colors: {
  custom: {
    50: '#957dac',
    500: '#684a89',
    950: '#000000',
  },
}
SCSS
$custom: #684a89;
$custom-light: #957dac;
$custom-dark: #000000;
JSON
{
  "hex": "#684a89",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 268.571,
    "s": 29.858,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.10359,
    "h": 304.7
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#684A89
secondary
#98AD82
accent
#C66296
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684A89

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

Preview Lab → · Contrast checker → · Palette generator →

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