#684CAF#684CAF

#684CAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.151 H 293.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#684CAF
RGBrgb(104, 76, 175)
HSLhsl(257, 39%, 49%)
HSVhsv(257, 57%, 69%)
CMYKcmyk(40.6%, 56.6%, 0%, 31.4%)
CIE-LABlab(39.93, 35.18, -49.01)
CIE-LCHlch(39.93, 60.33, 305.67°)
OKLaboklab(49.68% 0.0595 -0.1393)
OKLCHoklch(49.68% 0.151 293.1)
XYZxyz(16.0292, 11.2067, 41.8677)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CAF #93AF4C
analogous
#4C62AF #684CAF #9A4CAF
triadic
#684CAF #AF684C #4CAF68
tetradic
#684CAF #AF4C62 #93AF4C #4CAF9A
square
#684CAF #AF4C62 #93AF4C #4CAF9A
split-complementary
#684CAF #AF9A4C #62AF4C
monochromatic
#35275A #4F3984 #684CAF #8B75C3 #AFA0D6

Accessibility & contrast

On white

6.48
#684CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#684CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CAF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CAF#FFFFFF#000000##FFFFFF
##684CAF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#556176
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684caf;
/* rgb */ color: rgb(104, 76, 175);
/* oklch */ color: oklch(49.7% 0.151 293.1);
Tailwind
colors: {
  custom: {
    50: '#987fc7',
    500: '#684caf',
    950: '#000000',
  },
}
SCSS
$custom: #684caf;
$custom-light: #987fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#684caf",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 256.97,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.15148,
    "h": 293.1
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#684CAF
secondary
#B5C294
accent
#CF58AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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