#684AA2#684AA2

#684AA2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.5% C 0.137 H 296.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#684AA2
RGBrgb(104, 74, 162)
HSLhsl(260, 37%, 46%)
HSVhsv(260, 54%, 64%)
CMYKcmyk(35.8%, 54.3%, 0%, 36.5%)
CIE-LABlab(38.64, 32.75, -43.35)
CIE-LCHlch(38.64, 54.33, 307.07°)
OKLaboklab(48.46% 0.0616 -0.1227)
OKLCHoklch(48.46% 0.137 296.7)
XYZxyz(14.6776, 10.4490, 35.4190)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AA2 #84A24A
analogous
#4A58A2 #684AA2 #944AA2
triadic
#684AA2 #A2684A #4AA268
tetradic
#684AA2 #A24A58 #84A24A #4AA294
square
#684AA2 #A24A58 #84A24A #4AA294
split-complementary
#684AA2 #A2944A #58A24A
monochromatic
#32244E #4D3778 #684AA2 #886DBC #AA97CF

Accessibility & contrast

On white

6.80
#684AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#684AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AA2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AA2#FFFFFF#000000##FFFFFF
##684AA21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#5B5C6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #684aa2;
/* rgb */ color: rgb(104, 74, 162);
/* oklch */ color: oklch(48.5% 0.137 296.7);
Tailwind
colors: {
  custom: {
    50: '#967dbe',
    500: '#684aa2',
    950: '#000000',
  },
}
SCSS
$custom: #684aa2;
$custom-light: #967dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#684aa2",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 260.455,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.13729,
    "h": 296.7
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#684AA2
secondary
#ABBC8C
accent
#CD5BA6
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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