#684CB9#684CB9

#684CB9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.165 H 291.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#684CB9
RGBrgb(104, 76, 185)
HSLhsl(255, 44%, 51%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(43.8%, 58.9%, 0%, 27.5%)
CIE-LABlab(40.60, 38.03, -53.82)
CIE-LCHlch(40.60, 65.90, 305.24°)
OKLaboklab(50.39% 0.0594 -0.1534)
OKLCHoklch(50.39% 0.165 291.2)
XYZxyz(17.0479, 11.6142, 47.2331)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB9 #9DB94C
analogous
#4C66B9 #684CB9 #9E4CB9
triadic
#684CB9 #B9684C #4CB968
tetradic
#684CB9 #B94C66 #9DB94C #4CB99E
square
#684CB9 #B94C66 #9DB94C #4CB99E
split-complementary
#684CB9 #B99E4C #66B94C
monochromatic
#372764 #4F3890 #684CB9 #8D78CA #B2A4DB

Accessibility & contrast

On white

6.32
#684CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#684CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB9#FFFFFF#000000##FFFFFF
##684CB91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#085DB7
Tritanopia (blue-blind)
#51647B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684cb9;
/* rgb */ color: rgb(104, 76, 185);
/* oklch */ color: oklch(50.4% 0.165 291.2);
Tailwind
colors: {
  custom: {
    50: '#997fcf',
    500: '#684cb9',
    950: '#000000',
  },
}
SCSS
$custom: #684cb9;
$custom-light: #997fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb9",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 255.413,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.16456,
    "h": 291.2
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#684CB9
secondary
#BCC898
accent
#D454B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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