#684C97#684C97

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

Color values

HEX#684C97
RGBrgb(104, 76, 151)
HSLhsl(262, 33%, 45%)
HSVhsv(262, 50%, 59%)
CMYKcmyk(31.1%, 49.7%, 0%, 40.8%)
CIE-LABlab(38.46, 28.56, -37.02)
CIE-LCHlch(38.46, 46.76, 307.65°)
OKLaboklab(48.12% 0.058 -0.1042)
OKLCHoklch(48.12% 0.119 299.1)
XYZxyz(13.8779, 10.3462, 30.5380)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684C97 #7B974C
analogous
#4C5697 #684C97 #8E4C97
triadic
#684C97 #97684C #4C9768
tetradic
#684C97 #974C56 #7B974C #4C978E
square
#684C97 #974C56 #7B974C #4C978E
split-complementary
#684C97 #978E4C #56974C
monochromatic
#302346 #4C386E #684C97 #876BB5 #A894C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684C97#FFFFFF#000000##FFFFFF
##684C971.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)
#345A9A
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#5E5A6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684c97;
/* rgb */ color: rgb(104, 76, 151);
/* oklch */ color: oklch(48.1% 0.119 299.1);
Tailwind
colors: {
  custom: {
    50: '#957eb6',
    500: '#684c97',
    950: '#000000',
  },
}
SCSS
$custom: #684c97;
$custom-light: #957eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#684c97",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 262.4,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48116,
    "c": 0.11922,
    "h": 299.1
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#684C97
secondary
#A5B689
accent
#C95FA1
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684C97

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

Preview Lab → · Contrast checker → · Palette generator →

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