#684A95#684A95

#684A95 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.6% C 0.120 H 300.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#684A95
RGBrgb(104, 74, 149)
HSLhsl(264, 34%, 44%)
HSVhsv(264, 50%, 58%)
CMYKcmyk(30.2%, 50.3%, 0%, 41.6%)
CIE-LABlab(37.86, 29.24, -36.76)
CIE-LCHlch(37.86, 46.97, 308.50°)
OKLaboklab(47.64% 0.0606 -0.1034)
OKLCHoklch(47.64% 0.12 300.4)
XYZxyz(13.5813, 10.0105, 29.6446)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A95 #77954A
analogous
#4A5195 #684A95 #8D4A95
triadic
#684A95 #95684A #4A9568
tetradic
#684A95 #954A51 #77954A #4A958D
square
#684A95 #954A51 #77954A #4A958D
split-complementary
#684A95 #958D4A #51954A
monochromatic
#2F2143 #4B366C #684A95 #8768B4 #A791C8

Accessibility & contrast

On white

6.99
#684A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#684A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684A95
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A95#FFFFFF#000000##FFFFFF
##684A951.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#395993
Tritanopia (blue-blind)
#5F5868
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #684a95;
/* rgb */ color: rgb(104, 74, 149);
/* oklch */ color: oklch(47.6% 0.120 300.4);
Tailwind
colors: {
  custom: {
    50: '#957db4',
    500: '#684a95',
    950: '#000000',
  },
}
SCSS
$custom: #684a95;
$custom-light: #957db4;
$custom-dark: #000000;
JSON
{
  "hex": "#684a95",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 264,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.11985,
    "h": 300.4
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#684A95
secondary
#A2B486
accent
#CA5E9F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684A95

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

Preview Lab → · Contrast checker → · Palette generator →

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