#684DAB#684DAB

#684DAB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.145 H 293.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#684DAB
RGBrgb(104, 77, 171)
HSLhsl(257, 38%, 49%)
HSVhsv(257, 55%, 67%)
CMYKcmyk(39.2%, 55%, 0%, 32.9%)
CIE-LABlab(39.90, 33.46, -46.68)
CIE-LCHlch(39.90, 57.44, 305.63°)
OKLaboklab(49.58% 0.0581 -0.1325)
OKLCHoklch(49.58% 0.145 293.7)
XYZxyz(15.7115, 11.1907, 39.8524)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DAB #90AB4D
analogous
#4D61AB #684DAB #974DAB
triadic
#684DAB #AB684D #4DAB68
tetradic
#684DAB #AB4D61 #90AB4D #4DAB97
square
#684DAB #AB4D61 #90AB4D #4DAB97
split-complementary
#684DAB #AB974D #61AB4D
monochromatic
#352757 #4E3A81 #684DAB #8A75C1 #AE9FD4

Accessibility & contrast

On white

6.49
#684DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684DAB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DAB#FFFFFF#000000##FFFFFF
##684DAB1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#295CA9
Tritanopia (blue-blind)
#576174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684dab;
/* rgb */ color: rgb(104, 77, 171);
/* oklch */ color: oklch(49.6% 0.145 293.7);
Tailwind
colors: {
  custom: {
    50: '#977fc4',
    500: '#684dab',
    950: '#000000',
  },
}
SCSS
$custom: #684dab;
$custom-light: #977fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#684dab",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 257.234,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.14466,
    "h": 293.7
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#684DAB
secondary
#B4C093
accent
#CE5AAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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