#684AD9#684AD9

#684AD9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.5% C 0.207 H 286.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#684AD9
RGBrgb(104, 74, 217)
HSLhsl(253, 65%, 57%)
HSVhsv(253, 66%, 85%)
CMYKcmyk(52.1%, 65.9%, 0%, 14.9%)
CIE-LABlab(42.54, 48.41, -69.21)
CIE-LCHlch(42.54, 84.46, 304.97°)
OKLaboklab(52.54% 0.059 -0.1987)
OKLCHoklch(52.54% 0.207 286.5)
XYZxyz(20.6784, 12.8493, 67.0228)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AD9 #BBD94A
analogous
#4A74D9 #684AD9 #AF4AD9
triadic
#684AD9 #D9684A #4AD968
tetradic
#684AD9 #D94A74 #BBD94A #4AD9AF
square
#684AD9 #D94A74 #BBD94A #4AD9AF
split-complementary
#684AD9 #D9AF4A #74D94A
monochromatic
#341D8B #4728BE #684AD9 #927DE4 #BCAFEE

Accessibility & contrast

On white

5.88
#684AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#684AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AD9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AD9#FFFFFF#000000##FFFFFF
##684AD91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#3C6E8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684ad9;
/* rgb */ color: rgb(104, 74, 217);
/* oklch */ color: oklch(52.5% 0.207 286.5);
Tailwind
colors: {
  custom: {
    50: '#9d7ee6',
    500: '#684ad9',
    950: '#000000',
  },
}
SCSS
$custom: #684ad9;
$custom-light: #9d7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#684ad9",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 252.587,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.20726,
    "h": 286.5
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#684AD9
secondary
#D0DCA2
accent
#E840C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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