#684CA7#684CA7

#684CA7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.1% C 0.141 H 294.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#684CA7
RGBrgb(104, 76, 167)
HSLhsl(258, 37%, 48%)
HSVhsv(258, 54%, 65%)
CMYKcmyk(37.7%, 54.5%, 0%, 34.5%)
CIE-LABlab(39.41, 32.94, -45.09)
CIE-LCHlch(39.41, 55.84, 306.15°)
OKLaboklab(49.14% 0.0593 -0.1278)
OKLCHoklch(49.14% 0.141 294.9)
XYZxyz(15.2666, 10.9017, 37.8516)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CA7 #8BA74C
analogous
#4C5DA7 #684CA7 #964CA7
triadic
#684CA7 #A7684C #4CA768
tetradic
#684CA7 #A74C5D #8BA74C #4CA796
square
#684CA7 #A74C5D #8BA74C #4CA796
split-complementary
#684CA7 #A7964C #5DA74C
monochromatic
#342653 #4E397D #684CA7 #8972BF #AC9CD2

Accessibility & contrast

On white

6.60
#684CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#684CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CA7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CA7#FFFFFF#000000##FFFFFF
##684CA71.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAA
Deuteranopia (green-blind)
#2C5BA5
Tritanopia (blue-blind)
#595F72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684ca7;
/* rgb */ color: rgb(104, 76, 167);
/* oklch */ color: oklch(49.1% 0.141 294.9);
Tailwind
colors: {
  custom: {
    50: '#977fc2',
    500: '#684ca7',
    950: '#000000',
  },
}
SCSS
$custom: #684ca7;
$custom-light: #977fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ca7",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 258.462,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.14085,
    "h": 294.9
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#684CA7
secondary
#B0BE90
accent
#CD5AAA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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