#684EE4#684EE4

#684EE4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.216 H 284.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#684EE4
RGBrgb(104, 78, 228)
HSLhsl(250, 74%, 60%)
HSVhsv(250, 66%, 89%)
CMYKcmyk(54.4%, 65.8%, 0%, 10.6%)
CIE-LABlab(44.22, 49.42, -72.72)
CIE-LCHlch(44.22, 87.93, 304.20°)
OKLaboklab(54.03% 0.0539 -0.209)
OKLCHoklch(54.03% 0.216 284.5)
XYZxyz(22.4326, 13.9920, 74.9024)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EE4 #CAE44E
analogous
#4E7FE4 #684EE4 #B34EE4
triadic
#684EE4 #E4684E #4EE468
tetradic
#684EE4 #E44E7F #CAE44E #4EE4B3
square
#684EE4 #E44E7F #CAE44E #4EE4B3
split-complementary
#684EE4 #E4B34E #7FE44E
monochromatic
#30189F #4020D4 #684EE4 #9583EC #C3B8F4

Accessibility & contrast

On white

5.53
#684EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#684EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EE4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EE4#FFFFFF#000000##FFFFFF
##684EE41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#307492
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684ee4;
/* rgb */ color: rgb(104, 78, 228);
/* oklch */ color: oklch(54.0% 0.216 284.5);
Tailwind
colors: {
  custom: {
    50: '#9e81ee',
    500: '#684ee4',
    950: '#000000',
  },
}
SCSS
$custom: #684ee4;
$custom-light: #9e81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#684ee4",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 250.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.21586,
    "h": 284.5
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#684EE4
secondary
#DAE4AA
accent
#F038D0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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