#684AB4#684AB4

#684AB4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.7% C 0.161 H 292.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#684AB4
RGBrgb(104, 74, 180)
HSLhsl(257, 42%, 50%)
HSVhsv(257, 59%, 71%)
CMYKcmyk(42.2%, 58.9%, 0%, 29.4%)
CIE-LABlab(39.81, 37.77, -52.15)
CIE-LCHlch(39.81, 64.40, 305.91°)
OKLaboklab(49.7% 0.0619 -0.1485)
OKLCHoklch(49.7% 0.161 292.6)
XYZxyz(16.3937, 11.1354, 44.4568)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AB4 #96B44A
analogous
#4A61B4 #684AB4 #9D4AB4
triadic
#684AB4 #B4684A #4AB468
tetradic
#684AB4 #B44A61 #96B44A #4AB49D
square
#684AB4 #B44A61 #96B44A #4AB49D
split-complementary
#684AB4 #B49D4A #61B44A
monochromatic
#36265D #4F3889 #684AB4 #8C75C6 #B0A0D8

Accessibility & contrast

On white

6.51
#684AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#684AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AB4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AB4#FFFFFF#000000##FFFFFF
##684AB41.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#115CB2
Tritanopia (blue-blind)
#536178
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684ab4;
/* rgb */ color: rgb(104, 74, 180);
/* oklch */ color: oklch(49.7% 0.161 292.6);
Tailwind
colors: {
  custom: {
    50: '#987ecb',
    500: '#684ab4',
    950: '#000000',
  },
}
SCSS
$custom: #684ab4;
$custom-light: #987ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#684ab4",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 256.981,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.497,
    "c": 0.16093,
    "h": 292.6
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#684AB4
secondary
#B7C595
accent
#D256AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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