#684CBB#684CBB

#684CBB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.167 H 290.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#684CBB
RGBrgb(104, 76, 187)
HSLhsl(255, 45%, 52%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(44.4%, 59.4%, 0%, 26.7%)
CIE-LABlab(40.73, 38.60, -54.77)
CIE-LCHlch(40.73, 67.01, 305.18°)
OKLaboklab(50.53% 0.0594 -0.1562)
OKLCHoklch(50.53% 0.167 290.8)
XYZxyz(17.2605, 11.6992, 48.3528)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CBB #9FBB4C
analogous
#4C68BB #684CBB #A04CBB
triadic
#684CBB #BB684C #4CBB68
tetradic
#684CBB #BB4C68 #9FBB4C #4CBBA0
square
#684CBB #BB4C68 #9FBB4C #4CBBA0
split-complementary
#684CBB #BBA04C #68BB4C
monochromatic
#372766 #4E3892 #684CBB #8D78CC #B3A5DD

Accessibility & contrast

On white

6.29
#684CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#684CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CBB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CBB#FFFFFF#000000##FFFFFF
##684CBB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#50657C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684cbb;
/* rgb */ color: rgb(104, 76, 187);
/* oklch */ color: oklch(50.5% 0.167 290.8);
Tailwind
colors: {
  custom: {
    50: '#997fd0',
    500: '#684cbb',
    950: '#000000',
  },
}
SCSS
$custom: #684cbb;
$custom-light: #997fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#684cbb",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 255.135,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.16714,
    "h": 290.8
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#684CBB
secondary
#BDCA99
accent
#D553B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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