#684BA2#684BA2

#684BA2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.6% C 0.136 H 296.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#684BA2
RGBrgb(104, 75, 162)
HSLhsl(260, 37%, 46%)
HSVhsv(260, 54%, 64%)
CMYKcmyk(35.8%, 53.7%, 0%, 36.5%)
CIE-LABlab(38.87, 32.15, -42.97)
CIE-LCHlch(38.87, 53.67, 306.80°)
OKLaboklab(48.64% 0.0603 -0.1216)
OKLCHoklch(48.64% 0.136 296.4)
XYZxyz(14.7449, 10.5836, 35.4414)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BA2 #85A24B
analogous
#4B5AA2 #684BA2 #944BA2
triadic
#684BA2 #A2684B #4BA268
tetradic
#684BA2 #A24B5A #85A24B #4BA294
square
#684BA2 #A24B5A #85A24B #4BA294
split-complementary
#684BA2 #A2944B #5AA24B
monochromatic
#32244E #4D3878 #684BA2 #886EBC #AA98CF

Accessibility & contrast

On white

6.74
#684BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#684BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BA2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BA2#FFFFFF#000000##FFFFFF
##684BA21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#5B5C6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684ba2;
/* rgb */ color: rgb(104, 75, 162);
/* oklch */ color: oklch(48.6% 0.136 296.4);
Tailwind
colors: {
  custom: {
    50: '#967ebe',
    500: '#684ba2',
    950: '#000000',
  },
}
SCSS
$custom: #684ba2;
$custom-light: #967ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#684ba2",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 260,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.13572,
    "h": 296.4
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#684BA2
secondary
#ACBC8D
accent
#CD5BA7
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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