#684CC3#684CC3

#684CC3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.177 H 289.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#684CC3
RGBrgb(104, 76, 195)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.7%, 61%, 0%, 23.5%)
CIE-LABlab(41.30, 40.91, -58.53)
CIE-LCHlch(41.30, 71.41, 304.95°)
OKLaboklab(51.12% 0.059 -0.1673)
OKLCHoklch(51.12% 0.177 289.4)
XYZxyz(18.1409, 12.0514, 52.9895)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC3 #A7C34C
analogous
#4C6BC3 #684CC3 #A44CC3
triadic
#684CC3 #C3684C #4CC368
tetradic
#684CC3 #C34C6B #A7C34C #4CC3A4
square
#684CC3 #C34C6B #A7C34C #4CC3A4
split-complementary
#684CC3 #C3A44C #6BC34C
monochromatic
#37256F #4D359D #684CC3 #8F7AD2 #B5A8E2

Accessibility & contrast

On white

6.16
#684CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#684CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC3#FFFFFF#000000##FFFFFF
##684CC31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#4B6780
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684cc3;
/* rgb */ color: rgb(104, 76, 195);
/* oklch */ color: oklch(51.1% 0.177 289.4);
Tailwind
colors: {
  custom: {
    50: '#9a7fd6',
    500: '#684cc3',
    950: '#000000',
  },
}
SCSS
$custom: #684cc3;
$custom-light: #9a7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc3",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 254.118,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.1774,
    "h": 289.4
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#684CC3
secondary
#C3CF9C
accent
#D94EB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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