#684B98#684B98

#684B98 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.0% C 0.122 H 299.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#684B98
RGBrgb(104, 75, 152)
HSLhsl(263, 34%, 45%)
HSVhsv(263, 51%, 60%)
CMYKcmyk(31.6%, 50.7%, 0%, 40.4%)
CIE-LABlab(38.27, 29.43, -37.92)
CIE-LCHlch(38.27, 48.00, 307.82°)
OKLaboklab(48% 0.0595 -0.1068)
OKLCHoklch(48% 0.122 299.1)
XYZxyz(13.8911, 10.2421, 30.9448)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684B98 #7B984B
analogous
#4B5598 #684B98 #8F4B98
triadic
#684B98 #98684B #4B9868
tetradic
#684B98 #984B55 #7B984B #4B988F
square
#684B98 #984B55 #7B984B #4B988F
split-complementary
#684B98 #988F4B #55984B
monochromatic
#302346 #4C376F #684B98 #876AB6 #A893CA

Accessibility & contrast

On white

6.89
#684B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#684B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684B98
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684B98#FFFFFF#000000##FFFFFF
##684B981.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#5E596A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684b98;
/* rgb */ color: rgb(104, 75, 152);
/* oklch */ color: oklch(48.0% 0.122 299.1);
Tailwind
colors: {
  custom: {
    50: '#957eb7',
    500: '#684b98',
    950: '#000000',
  },
}
SCSS
$custom: #684b98;
$custom-light: #957eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#684b98",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 262.597,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.12224,
    "h": 299.1
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684B98

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

Preview Lab → · Contrast checker → · Palette generator →

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