#684ABA#684ABA

#684ABA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.169 H 291.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#684ABA
RGBrgb(104, 74, 186)
HSLhsl(256, 45%, 51%)
HSVhsv(256, 60%, 73%)
CMYKcmyk(44.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(40.22, 39.48, -55.01)
CIE-LCHlch(40.22, 67.71, 305.66°)
OKLaboklab(50.14% 0.0617 -0.1569)
OKLCHoklch(50.14% 0.169 291.5)
XYZxyz(17.0182, 11.3852, 47.7458)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ABA #9CBA4A
analogous
#4A64BA #684ABA #A04ABA
triadic
#684ABA #BA684A #4ABA68
tetradic
#684ABA #BA4A64 #9CBA4A #4ABAA0
square
#684ABA #BA4A64 #9CBA4A #4ABAA0
split-complementary
#684ABA #BAA04A #64BA4A
monochromatic
#362664 #4F3790 #684ABA #8D76CB #B2A3DC

Accessibility & contrast

On white

6.41
#684ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#684ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ABA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ABA#FFFFFF#000000##FFFFFF
##684ABA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#50637B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684aba;
/* rgb */ color: rgb(104, 74, 186);
/* oklch */ color: oklch(50.1% 0.169 291.5);
Tailwind
colors: {
  custom: {
    50: '#997ecf',
    500: '#684aba',
    950: '#000000',
  },
}
SCSS
$custom: #684aba;
$custom-light: #997ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#684aba",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 256.071,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.16865,
    "h": 291.5
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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