#684FC5#684FC5

#684FC5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.176 H 288.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#684FC5
RGBrgb(104, 79, 197)
HSLhsl(253, 50%, 54%)
HSVhsv(253, 60%, 77%)
CMYKcmyk(47.2%, 59.9%, 0%, 22.7%)
CIE-LABlab(42.10, 39.75, -58.39)
CIE-LCHlch(42.10, 70.63, 304.25°)
OKLaboklab(51.76% 0.0556 -0.1669)
OKLCHoklch(51.76% 0.176 288.4)
XYZxyz(18.5801, 12.5655, 54.2589)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FC5 #ACC54F
analogous
#4F71C5 #684FC5 #A34FC5
triadic
#684FC5 #C5684F #4FC568
tetradic
#684FC5 #C54F71 #ACC54F #4FC5A3
square
#684FC5 #C54F71 #ACC54F #4FC5A3
split-complementary
#684FC5 #C5A34F #71C54F
monochromatic
#362674 #4C35A2 #684FC5 #8F7DD4 #B7ABE3

Accessibility & contrast

On white

5.98
#684FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#684FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FC5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FC5#FFFFFF#000000##FFFFFF
##684FC51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684fc5;
/* rgb */ color: rgb(104, 79, 197);
/* oklch */ color: oklch(51.8% 0.176 288.4);
Tailwind
colors: {
  custom: {
    50: '#9a81d7',
    500: '#684fc5',
    950: '#000000',
  },
}
SCSS
$custom: #684fc5;
$custom-light: #9a81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#684fc5",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 252.712,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.17591,
    "h": 288.4
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#684FC5
secondary
#C6D19F
accent
#DA4EBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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