#684ABB#684ABB

#684ABB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.170 H 291.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#684ABB
RGBrgb(104, 74, 187)
HSLhsl(256, 45%, 51%)
HSVhsv(256, 60%, 73%)
CMYKcmyk(44.4%, 60.4%, 0%, 26.7%)
CIE-LABlab(40.29, 39.76, -55.48)
CIE-LCHlch(40.29, 68.26, 305.63°)
OKLaboklab(50.21% 0.0617 -0.1583)
OKLCHoklch(50.21% 0.17 291.3)
XYZxyz(17.1249, 11.4279, 48.3076)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ABB #9DBB4A
analogous
#4A64BB #684ABB #A04ABB
triadic
#684ABB #BB684A #4ABB68
tetradic
#684ABB #BB4A64 #9DBB4A #4ABBA0
square
#684ABB #BB4A64 #9DBB4A #4ABBA0
split-complementary
#684ABB #BBA04A #64BB4A
monochromatic
#372665 #4F3791 #684ABB #8D76CC #B2A3DC

Accessibility & contrast

On white

6.39
#684ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#684ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ABB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ABB#FFFFFF#000000##FFFFFF
##684ABB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#50647B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684abb;
/* rgb */ color: rgb(104, 74, 187);
/* oklch */ color: oklch(50.2% 0.170 291.3);
Tailwind
colors: {
  custom: {
    50: '#997ed0',
    500: '#684abb',
    950: '#000000',
  },
}
SCSS
$custom: #684abb;
$custom-light: #997ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#684abb",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 255.929,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.16993,
    "h": 291.3
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#684ABB
secondary
#BCC997
accent
#D553B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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