#684AE9#684AE9

#684AE9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.226 H 284.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#684AE9
RGBrgb(104, 74, 233)
HSLhsl(251, 78%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55.4%, 68.2%, 0%, 8.6%)
CIE-LABlab(43.83, 53.05, -76.19)
CIE-LCHlch(43.83, 92.84, 304.85°)
OKLaboklab(53.87% 0.0566 -0.2192)
OKLCHoklch(53.87% 0.226 284.5)
XYZxyz(22.8612, 13.7225, 78.5191)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AE9 #CBE94A
analogous
#4A7BE9 #684AE9 #B84AE9
triadic
#684AE9 #E9684A #4AE968
tetradic
#684AE9 #E94A7B #CBE94A #4AE9B8
square
#684AE9 #E94A7B #CBE94A #4AE9B8
split-complementary
#684AE9 #E9B84A #7BE94A
monochromatic
#2F14A5 #3F1BDB #684AE9 #9681F0 #C3B7F6

Accessibility & contrast

On white

5.61
#684AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#684AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AE9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AE9#FFFFFF#000000##FFFFFF
##684AE91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#2A7494
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684ae9;
/* rgb */ color: rgb(104, 74, 233);
/* oklch */ color: oklch(53.9% 0.226 284.5);
Tailwind
colors: {
  custom: {
    50: '#9f7ff1',
    500: '#684ae9',
    950: '#000000',
  },
}
SCSS
$custom: #684ae9;
$custom-light: #9f7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#684ae9",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 251.321,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.22638,
    "h": 284.5
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#684AE9
secondary
#DAE6A9
accent
#DB0BB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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