#684BC4#684BC4

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

Color values

HEX#684BC4
RGBrgb(104, 75, 196)
HSLhsl(254, 51%, 53%)
HSVhsv(254, 62%, 77%)
CMYKcmyk(46.9%, 61.7%, 0%, 23.1%)
CIE-LABlab(41.15, 41.77, -59.34)
CIE-LCHlch(41.15, 72.57, 305.14°)
OKLaboklab(51.04% 0.0601 -0.1697)
OKLCHoklch(51.04% 0.18 289.5)
XYZxyz(18.1860, 11.9600, 53.5641)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC4 #A7C44B
analogous
#4B6AC4 #684BC4 #A44BC4
triadic
#684BC4 #C4684B #4BC468
tetradic
#684BC4 #C44B6A #A7C44B #4BC4A4
square
#684BC4 #C44B6A #A7C44B #4BC4A4
split-complementary
#684BC4 #C4A44B #6AC44B
monochromatic
#372570 #4D349E #684BC4 #8F79D3 #B5A7E2

Accessibility & contrast

On white

6.19
#684BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#684BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC4#FFFFFF#000000##FFFFFF
##684BC41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684bc4;
/* rgb */ color: rgb(104, 75, 196);
/* oklch */ color: oklch(51.0% 0.180 289.5);
Tailwind
colors: {
  custom: {
    50: '#9a7fd7',
    500: '#684bc4',
    950: '#000000',
  },
}
SCSS
$custom: #684bc4;
$custom-light: #9a7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc4",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 254.38,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51041,
    "c": 0.18001,
    "h": 289.5
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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