#684CA4#684CA4

#684CA4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.137 H 295.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#684CA4
RGBrgb(104, 76, 164)
HSLhsl(259, 37%, 47%)
HSVhsv(259, 54%, 64%)
CMYKcmyk(36.6%, 53.7%, 0%, 35.7%)
CIE-LABlab(39.23, 32.10, -43.60)
CIE-LCHlch(39.23, 54.14, 306.37°)
OKLaboklab(48.94% 0.0591 -0.1234)
OKLCHoklch(48.94% 0.137 295.6)
XYZxyz(14.9925, 10.7920, 36.4079)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CA4 #88A44C
analogous
#4C5CA4 #684CA4 #944CA4
triadic
#684CA4 #A4684C #4CA468
tetradic
#684CA4 #A44C5C #88A44C #4CA494
square
#684CA4 #A44C5C #88A44C #4CA494
split-complementary
#684CA4 #A4944C #5CA44C
monochromatic
#332550 #4D397A #684CA4 #8970BD #AB9AD0

Accessibility & contrast

On white

6.65
#684CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684CA4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CA4#FFFFFF#000000##FFFFFF
##684CA41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#5A5E70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684ca4;
/* rgb */ color: rgb(104, 76, 164);
/* oklch */ color: oklch(48.9% 0.137 295.6);
Tailwind
colors: {
  custom: {
    50: '#967fbf',
    500: '#684ca4',
    950: '#000000',
  },
}
SCSS
$custom: #684ca4;
$custom-light: #967fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#684ca4",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 259.091,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.13683,
    "h": 295.6
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#684CA4
secondary
#AEBD8F
accent
#CD5BA9
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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