#684AB2#684AB2

#684AB2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.158 H 293.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#684AB2
RGBrgb(104, 74, 178)
HSLhsl(257, 41%, 49%)
HSVhsv(257, 58%, 70%)
CMYKcmyk(41.6%, 58.4%, 0%, 30.2%)
CIE-LABlab(39.67, 37.21, -51.19)
CIE-LCHlch(39.67, 63.29, 306.01°)
OKLaboklab(49.56% 0.0619 -0.1457)
OKLCHoklch(49.56% 0.158 293)
XYZxyz(16.1914, 11.0545, 43.3915)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AB2 #94B24A
analogous
#4A60B2 #684AB2 #9C4AB2
triadic
#684AB2 #B2684A #4AB268
tetradic
#684AB2 #B24A60 #94B24A #4AB29C
square
#684AB2 #B24A60 #94B24A #4AB29C
split-complementary
#684AB2 #B29C4A #60B24A
monochromatic
#35265C #4F3887 #684AB2 #8B74C5 #AF9FD7

Accessibility & contrast

On white

6.54
#684AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#684AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AB2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AB2#FFFFFF#000000##FFFFFF
##684AB21.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB5
Deuteranopia (green-blind)
#165CB0
Tritanopia (blue-blind)
#546177
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684ab2;
/* rgb */ color: rgb(104, 74, 178);
/* oklch */ color: oklch(49.6% 0.158 293.0);
Tailwind
colors: {
  custom: {
    50: '#987eca',
    500: '#684ab2',
    950: '#000000',
  },
}
SCSS
$custom: #684ab2;
$custom-light: #987eca;
$custom-dark: #000000;
JSON
{
  "hex": "#684ab2",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 257.308,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.15833,
    "h": 293
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#684AB2
secondary
#B6C494
accent
#D157AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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