#684AE7#684AE7

#684AE7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.224 H 284.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#684AE7
RGBrgb(104, 74, 231)
HSLhsl(251, 77%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55%, 68%, 0%, 9.4%)
CIE-LABlab(43.67, 52.47, -75.33)
CIE-LCHlch(43.67, 91.80, 304.86°)
OKLaboklab(53.71% 0.057 -0.2167)
OKLCHoklch(53.71% 0.224 284.7)
XYZxyz(22.5771, 13.6088, 77.0229)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AE7 #C9E74A
analogous
#4A7BE7 #684AE7 #B74AE7
triadic
#684AE7 #E7684A #4AE768
tetradic
#684AE7 #E74A7B #C9E74A #4AE7B7
square
#684AE7 #E74A7B #C9E74A #4AE7B7
split-complementary
#684AE7 #E7B74A #7BE74A
monochromatic
#3015A1 #401DD7 #684AE7 #9580EE #C2B6F5

Accessibility & contrast

On white

5.64
#684AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#684AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AE7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AE7#FFFFFF#000000##FFFFFF
##684AE71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#2C7393
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ae7;
/* rgb */ color: rgb(104, 74, 231);
/* oklch */ color: oklch(53.7% 0.224 284.7);
Tailwind
colors: {
  custom: {
    50: '#9f7ff0',
    500: '#684ae7',
    950: '#000000',
  },
}
SCSS
$custom: #684ae7;
$custom-light: #9f7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ae7",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 251.465,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.22402,
    "h": 284.7
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#684AE7
secondary
#D9E5A8
accent
#F335CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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