#684EBB#684EBB

#684EBB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.164 H 290.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#684EBB
RGBrgb(104, 78, 187)
HSLhsl(254, 44%, 52%)
HSVhsv(254, 58%, 73%)
CMYKcmyk(44.4%, 58.3%, 0%, 26.7%)
CIE-LABlab(41.18, 37.43, -54.04)
CIE-LCHlch(41.18, 65.74, 304.71°)
OKLaboklab(50.86% 0.0571 -0.1541)
OKLCHoklch(50.86% 0.164 290.3)
XYZxyz(17.4004, 11.9791, 48.3995)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EBB #A1BB4E
analogous
#4E6BBB #684EBB #9F4EBB
triadic
#684EBB #BB684E #4EBB68
tetradic
#684EBB #BB4E6B #A1BB4E #4EBB9F
square
#684EBB #BB4E6B #A1BB4E #4EBB9F
split-complementary
#684EBB #BB9F4E #6BBB4E
monochromatic
#372867 #4E3993 #684EBB #8E7ACC #B3A6DD

Accessibility & contrast

On white

6.18
#684EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684EBB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EBB#FFFFFF#000000##FFFFFF
##684EBB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#4F667D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684ebb;
/* rgb */ color: rgb(104, 78, 187);
/* oklch */ color: oklch(50.9% 0.164 290.3);
Tailwind
colors: {
  custom: {
    50: '#9980d0',
    500: '#684ebb',
    950: '#000000',
  },
}
SCSS
$custom: #684ebb;
$custom-light: #9980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ebb",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 254.312,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.16432,
    "h": 290.3
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#684EBB
secondary
#BFCA9B
accent
#D454B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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