#684AD8#684AD8

#684AD8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.5% C 0.206 H 286.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#684AD8
RGBrgb(104, 74, 216)
HSLhsl(253, 65%, 57%)
HSVhsv(253, 66%, 85%)
CMYKcmyk(51.9%, 65.7%, 0%, 15.3%)
CIE-LABlab(42.46, 48.12, -68.76)
CIE-LCHlch(42.46, 83.93, 304.99°)
OKLaboklab(52.46% 0.0591 -0.1974)
OKLCHoklch(52.46% 0.206 286.7)
XYZxyz(20.5487, 12.7974, 66.3398)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AD8 #BAD84A
analogous
#4A73D8 #684AD8 #AF4AD8
triadic
#684AD8 #D8684A #4AD868
tetradic
#684AD8 #D84A73 #BAD84A #4AD8AF
square
#684AD8 #D84A73 #BAD84A #4AD8AF
split-complementary
#684AD8 #D8AF4A #73D84A
monochromatic
#351E8A #4829BC #684AD8 #927CE3 #BCAFEE

Accessibility & contrast

On white

5.90
#684AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#684AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AD8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AD8#FFFFFF#000000##FFFFFF
##684AD81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#3C6D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684ad8;
/* rgb */ color: rgb(104, 74, 216);
/* oklch */ color: oklch(52.5% 0.206 286.7);
Tailwind
colors: {
  custom: {
    50: '#9d7ee5',
    500: '#684ad8',
    950: '#000000',
  },
}
SCSS
$custom: #684ad8;
$custom-light: #9d7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#684ad8",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 252.676,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.20605,
    "h": 286.7
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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