#684EA9#684EA9

#684EA9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.140 H 293.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#684EA9
RGBrgb(104, 78, 169)
HSLhsl(257, 37%, 48%)
HSVhsv(257, 54%, 66%)
CMYKcmyk(38.5%, 53.8%, 0%, 33.7%)
CIE-LABlab(40.01, 32.30, -45.32)
CIE-LCHlch(40.01, 55.65, 305.48°)
OKLaboklab(49.62% 0.0568 -0.1285)
OKLCHoklch(49.62% 0.14 293.8)
XYZxyz(15.5929, 11.2561, 38.8795)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EA9 #8FA94E
analogous
#4E61A9 #684EA9 #954EA9
triadic
#684EA9 #A9684E #4EA968
tetradic
#684EA9 #A94E61 #8FA94E #4EA995
square
#684EA9 #A94E61 #8FA94E #4EA995
split-complementary
#684EA9 #A9954E #61A94E
monochromatic
#342755 #4E3B7F #684EA9 #8A75BF #AE9FD3

Accessibility & contrast

On white

6.46
#684EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#684EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EA9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EA9#FFFFFF#000000##FFFFFF
##684EA91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAC
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#586174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ea9;
/* rgb */ color: rgb(104, 78, 169);
/* oklch */ color: oklch(49.6% 0.140 293.8);
Tailwind
colors: {
  custom: {
    50: '#9780c3',
    500: '#684ea9',
    950: '#000000',
  },
}
SCSS
$custom: #684ea9;
$custom-light: #9780c3;
$custom-dark: #000000;
JSON
{
  "hex": "#684ea9",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 257.143,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49619,
    "c": 0.14045,
    "h": 293.8
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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