#684AD7#684AD7

#684AD7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.205 H 286.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#684AD7
RGBrgb(104, 74, 215)
HSLhsl(253, 64%, 57%)
HSVhsv(253, 66%, 84%)
CMYKcmyk(51.6%, 65.6%, 0%, 15.7%)
CIE-LABlab(42.38, 47.83, -68.32)
CIE-LCHlch(42.38, 83.40, 305.00°)
OKLaboklab(52.38% 0.0592 -0.1961)
OKLCHoklch(52.38% 0.205 286.8)
XYZxyz(20.4198, 12.7459, 65.6610)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AD7 #B9D74A
analogous
#4A73D7 #684AD7 #AF4AD7
triadic
#684AD7 #D7684A #4AD768
tetradic
#684AD7 #D74A73 #B9D74A #4AD7AF
square
#684AD7 #D74A73 #B9D74A #4AD7AF
split-complementary
#684AD7 #D7AF4A #73D74A
monochromatic
#351E88 #4829BB #684AD7 #927CE2 #BCAEED

Accessibility & contrast

On white

5.92
#684AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#684AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AD7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AD7#FFFFFF#000000##FFFFFF
##684AD71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#3D6D8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684ad7;
/* rgb */ color: rgb(104, 74, 215);
/* oklch */ color: oklch(52.4% 0.205 286.8);
Tailwind
colors: {
  custom: {
    50: '#9d7ee4',
    500: '#684ad7',
    950: '#000000',
  },
}
SCSS
$custom: #684ad7;
$custom-light: #9d7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#684ad7",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 252.766,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.20483,
    "h": 286.8
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#684AD7
secondary
#CFDBA2
accent
#E741C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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