#684EC4#684EC4

#684EC4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.176 H 288.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#684EC4
RGBrgb(104, 78, 196)
HSLhsl(253, 50%, 54%)
HSVhsv(253, 60%, 77%)
CMYKcmyk(46.9%, 60.2%, 0%, 23.1%)
CIE-LABlab(41.81, 40.04, -58.28)
CIE-LCHlch(41.81, 70.71, 304.49°)
OKLaboklab(51.52% 0.0568 -0.1666)
OKLCHoklch(51.52% 0.176 288.8)
XYZxyz(18.3943, 12.3766, 53.6336)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EC4 #AAC44E
analogous
#4E6FC4 #684EC4 #A34EC4
triadic
#684EC4 #C4684E #4EC468
tetradic
#684EC4 #C44E6F #AAC44E #4EC4A3
square
#684EC4 #C44E6F #AAC44E #4EC4A3
split-complementary
#684EC4 #C4A34E #6FC44E
monochromatic
#372672 #4D35A0 #684EC4 #8F7CD3 #B6AAE3

Accessibility & contrast

On white

6.04
#684EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#684EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EC4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EC4#FFFFFF#000000##FFFFFF
##684EC41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#4A6981
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684ec4;
/* rgb */ color: rgb(104, 78, 196);
/* oklch */ color: oklch(51.5% 0.176 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a81d7',
    500: '#684ec4',
    950: '#000000',
  },
}
SCSS
$custom: #684ec4;
$custom-light: #9a81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#684ec4",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 253.22,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.17597,
    "h": 288.8
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#684EC4
secondary
#C5D09E
accent
#DA4EBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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