#684EBF#684EBF

#684EBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.170 H 289.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#684EBF
RGBrgb(104, 78, 191)
HSLhsl(254, 47%, 53%)
HSVhsv(254, 59%, 75%)
CMYKcmyk(45.5%, 59.2%, 0%, 25.1%)
CIE-LABlab(41.46, 38.59, -55.94)
CIE-LCHlch(41.46, 67.95, 304.60°)
OKLaboklab(51.15% 0.057 -0.1597)
OKLCHoklch(51.15% 0.17 289.6)
XYZxyz(17.8346, 12.1528, 50.6861)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EBF #A5BF4E
analogous
#4E6DBF #684EBF #A04EBF
triadic
#684EBF #BF684E #4EBF68
tetradic
#684EBF #BF4E6D #A5BF4E #4EBFA0
square
#684EBF #BF4E6D #A5BF4E #4EBFA0
split-complementary
#684EBF #BFA04E #6DBF4E
monochromatic
#37276C #4E3799 #684EBF #8E7BCF #B5A8E0

Accessibility & contrast

On white

6.12
#684EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#684EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EBF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EBF#FFFFFF#000000##FFFFFF
##684EBF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#4D677F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684ebf;
/* rgb */ color: rgb(104, 78, 191);
/* oklch */ color: oklch(51.2% 0.170 289.6);
Tailwind
colors: {
  custom: {
    50: '#9980d3',
    500: '#684ebf',
    950: '#000000',
  },
}
SCSS
$custom: #684ebf;
$custom-light: #9980d3;
$custom-dark: #000000;
JSON
{
  "hex": "#684ebf",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 253.805,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.16953,
    "h": 289.6
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#684EBF
secondary
#C2CD9C
accent
#D751B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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