#684E95#684E95

#684E95 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.4% C 0.113 H 299.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#684E95
RGBrgb(104, 78, 149)
HSLhsl(262, 31%, 45%)
HSVhsv(262, 48%, 58%)
CMYKcmyk(30.2%, 47.7%, 0%, 41.6%)
CIE-LABlab(38.83, 26.81, -35.22)
CIE-LCHlch(38.83, 44.26, 307.28°)
OKLaboklab(48.36% 0.0549 -0.0989)
OKLCHoklch(48.36% 0.113 299)
XYZxyz(13.8568, 10.5617, 29.7365)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684E95 #7B954E
analogous
#4E5795 #684E95 #8C4E95
triadic
#684E95 #95684E #4E9568
tetradic
#684E95 #954E57 #7B954E #4E958C
square
#684E95 #954E57 #7B954E #4E958C
split-complementary
#684E95 #958C4E #57954E
monochromatic
#302445 #4C396D #684E95 #876DB3 #A896C8

Accessibility & contrast

On white

6.75
#684E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#684E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684E95
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684E95#FFFFFF#000000##FFFFFF
##684E951.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385B98
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#5F5B6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684e95;
/* rgb */ color: rgb(104, 78, 149);
/* oklch */ color: oklch(48.4% 0.113 299.0);
Tailwind
colors: {
  custom: {
    50: '#9580b4',
    500: '#684e95',
    950: '#000000',
  },
}
SCSS
$custom: #684e95;
$custom-light: #9580b4;
$custom-dark: #000000;
JSON
{
  "hex": "#684e95",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 261.972,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48361,
    "c": 0.11311,
    "h": 299
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#684E95
secondary
#A5B48A
accent
#C760A2
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684E95

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

Preview Lab → · Contrast checker → · Palette generator →

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