#684F98#684F98

#684F98 is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.7% C 0.116 H 297.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#684F98
RGBrgb(104, 79, 152)
HSLhsl(261, 32%, 45%)
HSVhsv(261, 48%, 60%)
CMYKcmyk(31.6%, 48%, 0%, 40.4%)
CIE-LABlab(39.24, 27.00, -36.38)
CIE-LCHlch(39.24, 45.30, 306.59°)
OKLaboklab(48.72% 0.0538 -0.1023)
OKLCHoklch(48.72% 0.116 297.8)
XYZxyz(14.1710, 10.8019, 31.0380)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684F98 #7F984F
analogous
#4F5A98 #684F98 #8C4F98
triadic
#684F98 #98684F #4F9868
tetradic
#684F98 #984F5A #7F984F #4F988C
square
#684F98 #984F5A #7F984F #4F988C
split-complementary
#684F98 #988C4F #5A984F
monochromatic
#312547 #4C3A70 #684F98 #8770B5 #A998C9

Accessibility & contrast

On white

6.64
#684F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#684F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684F98
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684F98#FFFFFF#000000##FFFFFF
##684F981.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#5E5D6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684f98;
/* rgb */ color: rgb(104, 79, 152);
/* oklch */ color: oklch(48.7% 0.116 297.8);
Tailwind
colors: {
  custom: {
    50: '#9581b7',
    500: '#684f98',
    950: '#000000',
  },
}
SCSS
$custom: #684f98;
$custom-light: #9581b7;
$custom-dark: #000000;
JSON
{
  "hex": "#684f98",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 260.548,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.11559,
    "h": 297.8
  },
  "luminance": 0.10802
}

Semantic roles & 50–950 ramp

primary
#684F98
secondary
#A8B68D
accent
#C860A4
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684F98

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

Preview Lab → · Contrast checker → · Palette generator →

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