#684CA5#684CA5

#684CA5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.138 H 295.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#684CA5
RGBrgb(104, 76, 165)
HSLhsl(259, 37%, 47%)
HSVhsv(259, 54%, 65%)
CMYKcmyk(37%, 53.9%, 0%, 35.3%)
CIE-LABlab(39.29, 32.38, -44.09)
CIE-LCHlch(39.29, 54.71, 306.29°)
OKLaboklab(49.01% 0.0592 -0.1249)
OKLCHoklch(49.01% 0.138 295.3)
XYZxyz(15.0831, 10.8283, 36.8854)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CA5 #89A54C
analogous
#4C5DA5 #684CA5 #944CA5
triadic
#684CA5 #A5684C #4CA568
tetradic
#684CA5 #A54C5D #89A54C #4CA594
square
#684CA5 #A54C5D #89A54C #4CA594
split-complementary
#684CA5 #A5944C #5DA54C
monochromatic
#332551 #4E397B #684CA5 #8971BD #AC9BD1

Accessibility & contrast

On white

6.63
#684CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#684CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CA5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CA5#FFFFFF#000000##FFFFFF
##684CA51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#595E71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684ca5;
/* rgb */ color: rgb(104, 76, 165);
/* oklch */ color: oklch(49.0% 0.138 295.3);
Tailwind
colors: {
  custom: {
    50: '#977fc0',
    500: '#684ca5',
    950: '#000000',
  },
}
SCSS
$custom: #684ca5;
$custom-light: #977fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ca5",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 258.876,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.13817,
    "h": 295.3
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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