#684FC4#684FC4

#684FC4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.175 H 288.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#684FC4
RGBrgb(104, 79, 196)
HSLhsl(253, 50%, 54%)
HSVhsv(253, 60%, 77%)
CMYKcmyk(46.9%, 59.7%, 0%, 23.1%)
CIE-LABlab(42.03, 39.46, -57.92)
CIE-LCHlch(42.03, 70.08, 304.26°)
OKLaboklab(51.68% 0.0557 -0.1655)
OKLCHoklch(51.68% 0.175 288.6)
XYZxyz(18.4659, 12.5198, 53.6574)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FC4 #ABC44F
analogous
#4F71C4 #684FC4 #A34FC4
triadic
#684FC4 #C4684F #4FC468
tetradic
#684FC4 #C44F71 #ABC44F #4FC4A3
square
#684FC4 #C44F71 #ABC44F #4FC4A3
split-complementary
#684FC4 #C4A34F #71C44F
monochromatic
#372672 #4C36A0 #684FC4 #8F7DD3 #B7ABE3

Accessibility & contrast

On white

5.99
#684FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#684FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FC4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FC4#FFFFFF#000000##FFFFFF
##684FC41.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684fc4;
/* rgb */ color: rgb(104, 79, 196);
/* oklch */ color: oklch(51.7% 0.175 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a81d7',
    500: '#684fc4',
    950: '#000000',
  },
}
SCSS
$custom: #684fc4;
$custom-light: #9a81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#684fc4",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 252.821,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.17462,
    "h": 288.6
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#684FC4
secondary
#C6D09E
accent
#D94EBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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