#684A97#684A97

#684A97 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 47.8% C 0.123 H 299.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#684A97
RGBrgb(104, 74, 151)
HSLhsl(263, 34%, 44%)
HSVhsv(263, 51%, 59%)
CMYKcmyk(31.1%, 51%, 0%, 40.8%)
CIE-LABlab(37.98, 29.77, -37.79)
CIE-LCHlch(37.98, 48.11, 308.23°)
OKLaboklab(47.76% 0.0608 -0.1064)
OKLCHoklch(47.76% 0.123 299.8)
XYZxyz(13.7423, 10.0749, 30.4928)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684A97 #79974A
analogous
#4A5397 #684A97 #8F4A97
triadic
#684A97 #97684A #4A9768
tetradic
#684A97 #974A53 #79974A #4A978F
square
#684A97 #974A53 #79974A #4A978F
split-complementary
#684A97 #978F4A #53974A
monochromatic
#2F2245 #4C366E #684A97 #8769B5 #A892CA

Accessibility & contrast

On white

6.97
#684A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#684A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684A97
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684A97#FFFFFF#000000##FFFFFF
##684A971.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#5F5869
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #684a97;
/* rgb */ color: rgb(104, 74, 151);
/* oklch */ color: oklch(47.8% 0.123 299.8);
Tailwind
colors: {
  custom: {
    50: '#957db6',
    500: '#684a97',
    950: '#000000',
  },
}
SCSS
$custom: #684a97;
$custom-light: #957db6;
$custom-dark: #000000;
JSON
{
  "hex": "#684a97",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 263.377,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.12256,
    "h": 299.8
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#684A97
secondary
#A4B687
accent
#CA5DA0
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684A97

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

Preview Lab → · Contrast checker → · Palette generator →

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