#684CA8#684CA8

#684CA8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.2% C 0.142 H 294.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#684CA8
RGBrgb(104, 76, 168)
HSLhsl(258, 38%, 48%)
HSVhsv(258, 55%, 66%)
CMYKcmyk(38.1%, 54.8%, 0%, 34.1%)
CIE-LABlab(39.48, 33.22, -45.58)
CIE-LCHlch(39.48, 56.40, 306.08°)
OKLaboklab(49.21% 0.0593 -0.1292)
OKLCHoklch(49.21% 0.142 294.6)
XYZxyz(15.3594, 10.9388, 38.3404)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CA8 #8CA84C
analogous
#4C5EA8 #684CA8 #964CA8
triadic
#684CA8 #A8684C #4CA868
tetradic
#684CA8 #A84C5E #8CA84C #4CA896
square
#684CA8 #A84C5E #8CA84C #4CA896
split-complementary
#684CA8 #A8964C #5EA84C
monochromatic
#342654 #4E397E #684CA8 #8972BF #AD9CD2

Accessibility & contrast

On white

6.59
#684CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#684CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CA8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CA8#FFFFFF#000000##FFFFFF
##684CA81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAB
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#585F72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684ca8;
/* rgb */ color: rgb(104, 76, 168);
/* oklch */ color: oklch(49.2% 0.142 294.6);
Tailwind
colors: {
  custom: {
    50: '#977fc2',
    500: '#684ca8',
    950: '#000000',
  },
}
SCSS
$custom: #684ca8;
$custom-light: #977fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ca8",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 258.261,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.14218,
    "h": 294.6
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#684CA8
secondary
#B1BF91
accent
#CE5AAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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