#684EC9#684EC9

#684EC9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.182 H 288.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#684EC9
RGBrgb(104, 78, 201)
HSLhsl(253, 53%, 55%)
HSVhsv(253, 61%, 79%)
CMYKcmyk(48.3%, 61.2%, 0%, 21.2%)
CIE-LABlab(42.17, 41.50, -60.60)
CIE-LCHlch(42.17, 73.45, 304.40°)
OKLaboklab(51.9% 0.0565 -0.1734)
OKLCHoklch(51.9% 0.182 288.1)
XYZxyz(18.9729, 12.6081, 56.6809)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EC9 #AFC94E
analogous
#4E72C9 #684EC9 #A64EC9
triadic
#684EC9 #C9684E #4EC968
tetradic
#684EC9 #C94E72 #AFC94E #4EC9A6
square
#684EC9 #C94E72 #AFC94E #4EC9A6
split-complementary
#684EC9 #C9A64E #72C94E
monochromatic
#362578 #4B33A7 #684EC9 #907DD7 #B8ACE6

Accessibility & contrast

On white

5.96
#684EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#684EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EC9#FFFFFF#000000##FFFFFF
##684EC91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#476B84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684ec9;
/* rgb */ color: rgb(104, 78, 201);
/* oklch */ color: oklch(51.9% 0.182 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a81da',
    500: '#684ec9',
    950: '#000000',
  },
}
SCSS
$custom: #684ec9;
$custom-light: #9a81da;
$custom-dark: #000000;
JSON
{
  "hex": "#684ec9",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 252.683,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.18236,
    "h": 288.1
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#684EC9
secondary
#C8D39F
accent
#DD4BBE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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