#684DBE#684DBE

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

Color values

HEX#684DBE
RGBrgb(104, 77, 190)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 59%, 75%)
CMYKcmyk(45.3%, 59.5%, 0%, 25.5%)
CIE-LABlab(41.17, 38.88, -55.83)
CIE-LCHlch(41.17, 68.03, 304.86°)
OKLaboklab(50.92% 0.0581 -0.1593)
OKLCHoklch(50.92% 0.17 290)
XYZxyz(17.6544, 11.9679, 50.0850)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DBE #A3BE4D
analogous
#4D6BBE #684DBE #A04DBE
triadic
#684DBE #BE684D #4DBE68
tetradic
#684DBE #BE4D6B #A3BE4D #4DBEA0
square
#684DBE #BE4D6B #A3BE4D #4DBEA0
split-complementary
#684DBE #BEA04D #6BBE4D
monochromatic
#37276A #4E3797 #684DBE #8E7ACE #B4A7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684DBE#FFFFFF#000000##FFFFFF
##684DBE1.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)
#0063C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#4E667E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684dbe;
/* rgb */ color: rgb(104, 77, 190);
/* oklch */ color: oklch(50.9% 0.170 290.0);
Tailwind
colors: {
  custom: {
    50: '#9980d2',
    500: '#684dbe',
    950: '#000000',
  },
}
SCSS
$custom: #684dbe;
$custom-light: #9980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#684dbe",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 254.336,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50915,
    "c": 0.16963,
    "h": 290
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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