#684CC2#684CC2

#684CC2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.176 H 289.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#684CC2
RGBrgb(104, 76, 194)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.4%, 60.8%, 0%, 23.9%)
CIE-LABlab(41.23, 40.62, -58.06)
CIE-LCHlch(41.23, 70.86, 304.98°)
OKLaboklab(51.05% 0.0591 -0.1659)
OKLCHoklch(51.05% 0.176 289.6)
XYZxyz(18.0282, 12.0063, 52.3960)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC2 #A6C24C
analogous
#4C6BC2 #684CC2 #A34CC2
triadic
#684CC2 #C2684C #4CC268
tetradic
#684CC2 #C24C6B #A6C24C #4CC2A3
square
#684CC2 #C24C6B #A6C24C #4CC2A3
split-complementary
#684CC2 #C2A34C #6BC24C
monochromatic
#37266E #4D359C #684CC2 #8F7AD2 #B5A7E1

Accessibility & contrast

On white

6.17
#684CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#684CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC2#FFFFFF#000000##FFFFFF
##684CC21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#4C6780
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684cc2;
/* rgb */ color: rgb(104, 76, 194);
/* oklch */ color: oklch(51.0% 0.176 289.6);
Tailwind
colors: {
  custom: {
    50: '#9a7fd5',
    500: '#684cc2',
    950: '#000000',
  },
}
SCSS
$custom: #684cc2;
$custom-light: #9a7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc2",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 254.237,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.17613,
    "h": 289.6
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#684CC2
secondary
#C2CE9B
accent
#D94FB8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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