#684BC3#684BC3

#684BC3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.179 H 289.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#684BC3
RGBrgb(104, 75, 195)
HSLhsl(255, 50%, 53%)
HSVhsv(255, 62%, 76%)
CMYKcmyk(46.7%, 61.5%, 0%, 23.5%)
CIE-LABlab(41.08, 41.48, -58.88)
CIE-LCHlch(41.08, 72.02, 305.17°)
OKLaboklab(50.97% 0.0601 -0.1683)
OKLCHoklch(50.97% 0.179 289.7)
XYZxyz(18.0725, 11.9146, 52.9667)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC3 #A6C34B
analogous
#4B6AC3 #684BC3 #A44BC3
triadic
#684BC3 #C3684B #4BC368
tetradic
#684BC3 #C34B6A #A6C34B #4BC3A4
square
#684BC3 #C34B6A #A6C34B #4BC3A4
split-complementary
#684BC3 #C3A44B #6AC34B
monochromatic
#37256F #4D349D #684BC3 #8F79D2 #B5A7E2

Accessibility & contrast

On white

6.21
#684BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#684BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC3#FFFFFF#000000##FFFFFF
##684BC31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684bc3;
/* rgb */ color: rgb(104, 75, 195);
/* oklch */ color: oklch(51.0% 0.179 289.7);
Tailwind
colors: {
  custom: {
    50: '#9a7fd6',
    500: '#684bc3',
    950: '#000000',
  },
}
SCSS
$custom: #684bc3;
$custom-light: #9a7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc3",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 254.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.17874,
    "h": 289.7
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#684BC3
secondary
#C2CF9B
accent
#DA4EB8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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