#684EBE#684EBE

#684EBE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.168 H 289.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#684EBE
RGBrgb(104, 78, 190)
HSLhsl(254, 46%, 53%)
HSVhsv(254, 59%, 75%)
CMYKcmyk(45.3%, 58.9%, 0%, 25.5%)
CIE-LABlab(41.39, 38.30, -55.47)
CIE-LCHlch(41.39, 67.40, 304.62°)
OKLaboklab(51.08% 0.057 -0.1583)
OKLCHoklch(51.08% 0.168 289.8)
XYZxyz(17.7250, 12.1089, 50.1085)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EBE #A4BE4E
analogous
#4E6CBE #684EBE #A04EBE
triadic
#684EBE #BE684E #4EBE68
tetradic
#684EBE #BE4E6C #A4BE4E #4EBEA0
square
#684EBE #BE4E6C #A4BE4E #4EBEA0
split-complementary
#684EBE #BEA04E #6CBE4E
monochromatic
#37276A #4E3897 #684EBE #8E7BCE #B4A8DF

Accessibility & contrast

On white

6.14
#684EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#684EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EBE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EBE#FFFFFF#000000##FFFFFF
##684EBE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#4E677E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684ebe;
/* rgb */ color: rgb(104, 78, 190);
/* oklch */ color: oklch(51.1% 0.168 289.8);
Tailwind
colors: {
  custom: {
    50: '#9980d2',
    500: '#684ebe',
    950: '#000000',
  },
}
SCSS
$custom: #684ebe;
$custom-light: #9980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ebe",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 253.929,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.16823,
    "h": 289.8
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#684EBE
secondary
#C1CC9C
accent
#D652B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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