#684AE5#684AE5

#684AE5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.222 H 285.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#684AE5
RGBrgb(104, 74, 229)
HSLhsl(252, 75%, 59%)
HSVhsv(252, 68%, 90%)
CMYKcmyk(54.6%, 67.7%, 0%, 10.2%)
CIE-LABlab(43.50, 51.89, -74.47)
CIE-LCHlch(43.50, 90.76, 304.87°)
OKLaboklab(53.54% 0.0573 -0.2141)
OKLCHoklch(53.54% 0.222 285)
XYZxyz(22.2963, 13.4965, 75.5438)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AE5 #C7E54A
analogous
#4A7AE5 #684AE5 #B64AE5
triadic
#684AE5 #E5684A #4AE568
tetradic
#684AE5 #E54A7A #C7E54A #4AE5B6
square
#684AE5 #E54A7A #C7E54A #4AE5B6
split-complementary
#684AE5 #E5B64A #7AE54A
monochromatic
#31179E #411ED3 #684AE5 #9580ED #C1B5F4

Accessibility & contrast

On white

5.68
#684AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#684AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AE5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AE5#FFFFFF#000000##FFFFFF
##684AE51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#2F7292
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ae5;
/* rgb */ color: rgb(104, 74, 229);
/* oklch */ color: oklch(53.5% 0.222 285.0);
Tailwind
colors: {
  custom: {
    50: '#9f7fee',
    500: '#684ae5',
    950: '#000000',
  },
}
SCSS
$custom: #684ae5;
$custom-light: #9f7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#684ae5",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 251.613,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.22164,
    "h": 285
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#684AE5
secondary
#D8E4A7
accent
#F136CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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