#684EBD#684EBD

#684EBD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.167 H 290.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#684EBD
RGBrgb(104, 78, 189)
HSLhsl(254, 46%, 52%)
HSVhsv(254, 59%, 74%)
CMYKcmyk(45%, 58.7%, 0%, 25.9%)
CIE-LABlab(41.32, 38.01, -54.99)
CIE-LCHlch(41.32, 66.85, 304.65°)
OKLaboklab(51.01% 0.057 -0.1569)
OKLCHoklch(51.01% 0.167 290)
XYZxyz(17.6160, 12.0653, 49.5349)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EBD #A3BD4E
analogous
#4E6CBD #684EBD #A04EBD
triadic
#684EBD #BD684E #4EBD68
tetradic
#684EBD #BD4E6C #A3BD4E #4EBDA0
square
#684EBD #BD4E6C #A3BD4E #4EBDA0
split-complementary
#684EBD #BDA04E #6CBD4E
monochromatic
#372769 #4E3896 #684EBD #8E7BCE #B4A7DE

Accessibility & contrast

On white

6.15
#684EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684EBD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EBD#FFFFFF#000000##FFFFFF
##684EBD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#015FBB
Tritanopia (blue-blind)
#4E677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684ebd;
/* rgb */ color: rgb(104, 78, 189);
/* oklch */ color: oklch(51.0% 0.167 290.0);
Tailwind
colors: {
  custom: {
    50: '#9980d2',
    500: '#684ebd',
    950: '#000000',
  },
}
SCSS
$custom: #684ebd;
$custom-light: #9980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ebd",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 254.054,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.16693,
    "h": 290
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#684EBD
secondary
#C0CC9B
accent
#D552B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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