#684CBE#684CBE

#684CBE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.171 H 290.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#684CBE
RGBrgb(104, 76, 190)
HSLhsl(255, 47%, 52%)
HSVhsv(255, 60%, 75%)
CMYKcmyk(45.3%, 60%, 0%, 25.5%)
CIE-LABlab(40.94, 39.46, -56.19)
CIE-LCHlch(40.94, 68.66, 305.08°)
OKLaboklab(50.75% 0.0593 -0.1604)
OKLCHoklch(50.75% 0.171 290.3)
XYZxyz(17.5850, 11.8290, 50.0619)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CBE #A2BE4C
analogous
#4C69BE #684CBE #A14CBE
triadic
#684CBE #BE684C #4CBE68
tetradic
#684CBE #BE4C69 #A2BE4C #4CBEA1
square
#684CBE #BE4C69 #A2BE4C #4CBEA1
split-complementary
#684CBE #BEA14C #69BE4C
monochromatic
#372669 #4E3796 #684CBE #8E79CE #B4A6DF

Accessibility & contrast

On white

6.24
#684CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#684CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CBE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CBE#FFFFFF#000000##FFFFFF
##684CBE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.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: #684cbe;
/* rgb */ color: rgb(104, 76, 190);
/* oklch */ color: oklch(50.8% 0.171 290.3);
Tailwind
colors: {
  custom: {
    50: '#997fd2',
    500: '#684cbe',
    950: '#000000',
  },
}
SCSS
$custom: #684cbe;
$custom-light: #997fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#684cbe",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 254.737,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.17101,
    "h": 290.3
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#684CBE
secondary
#C0CC9A
accent
#D651B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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