#684FC2#684FC2

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

Color values

HEX#684FC2
RGBrgb(104, 79, 194)
HSLhsl(253, 49%, 54%)
HSVhsv(253, 59%, 76%)
CMYKcmyk(46.4%, 59.3%, 0%, 23.9%)
CIE-LABlab(41.89, 38.87, -56.99)
CIE-LCHlch(41.89, 68.98, 304.30°)
OKLaboklab(51.54% 0.0558 -0.1627)
OKLCHoklch(51.54% 0.172 288.9)
XYZxyz(18.2397, 12.4293, 52.4665)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FC2 #A9C24F
analogous
#4F6FC2 #684FC2 #A14FC2
triadic
#684FC2 #C2684F #4FC268
tetradic
#684FC2 #C24F6F #A9C24F #4FC2A1
square
#684FC2 #C24F6F #A9C24F #4FC2A1
split-complementary
#684FC2 #C2A14F #6FC24F
monochromatic
#372770 #4D379D #684FC2 #8F7CD2 #B6AAE2

Accessibility & contrast

On white

6.02
#684FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#684FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FC2#FFFFFF#000000##FFFFFF
##684FC21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#4C6981
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684fc2;
/* rgb */ color: rgb(104, 79, 194);
/* oklch */ color: oklch(51.5% 0.172 288.9);
Tailwind
colors: {
  custom: {
    50: '#9981d5',
    500: '#684fc2',
    950: '#000000',
  },
}
SCSS
$custom: #684fc2;
$custom-light: #9981d5;
$custom-dark: #000000;
JSON
{
  "hex": "#684fc2",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 253.043,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.17203,
    "h": 288.9
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#684FC2
secondary
#C4CF9E
accent
#D850BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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