#684EA8#684EA8

#684EA8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.139 H 294.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#684EA8
RGBrgb(104, 78, 168)
HSLhsl(257, 37%, 48%)
HSVhsv(257, 54%, 66%)
CMYKcmyk(38.1%, 53.6%, 0%, 34.1%)
CIE-LABlab(39.95, 32.02, -44.83)
CIE-LCHlch(39.95, 55.09, 305.54°)
OKLaboklab(49.55% 0.0567 -0.127)
OKLCHoklch(49.55% 0.139 294.1)
XYZxyz(15.4993, 11.2187, 38.3870)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EA8 #8EA84E
analogous
#4E61A8 #684EA8 #954EA8
triadic
#684EA8 #A8684E #4EA868
tetradic
#684EA8 #A84E61 #8EA84E #4EA895
square
#684EA8 #A84E61 #8EA84E #4EA895
split-complementary
#684EA8 #A8954E #61A84E
monochromatic
#342754 #4E3B7E #684EA8 #8A75BF #AD9ED2

Accessibility & contrast

On white

6.47
#684EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#684EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EA8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EA8#FFFFFF#000000##FFFFFF
##684EA81.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAB
Deuteranopia (green-blind)
#2E5DA6
Tritanopia (blue-blind)
#586073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ea8;
/* rgb */ color: rgb(104, 78, 168);
/* oklch */ color: oklch(49.6% 0.139 294.1);
Tailwind
colors: {
  custom: {
    50: '#9780c2',
    500: '#684ea8',
    950: '#000000',
  },
}
SCSS
$custom: #684ea8;
$custom-light: #9780c2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ea8",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 257.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.1391,
    "h": 294.1
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#684EA8
secondary
#B2BF93
accent
#CD5BAC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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