#684EE8#684EE8

#684EE8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.221 H 284.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#684EE8
RGBrgb(104, 78, 232)
HSLhsl(250, 77%, 61%)
HSVhsv(250, 66%, 91%)
CMYKcmyk(55.2%, 66.4%, 0%, 9%)
CIE-LABlab(44.54, 50.60, -74.46)
CIE-LCHlch(44.54, 90.03, 304.19°)
OKLaboklab(54.36% 0.0534 -0.2141)
OKLCHoklch(54.36% 0.221 284)
XYZxyz(22.9944, 14.2167, 77.8607)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EE8 #CEE84E
analogous
#4E81E8 #684EE8 #B54EE8
triadic
#684EE8 #E8684E #4EE868
tetradic
#684EE8 #E84E81 #CEE84E #4EE8B5
square
#684EE8 #E84E81 #CEE84E #4EE8B5
split-complementary
#684EE8 #E8B54E #81E84E
monochromatic
#2E16A6 #3D1DDC #684EE8 #9684EF #C4BAF6

Accessibility & contrast

On white

5.46
#684EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#684EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EE8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EE8#FFFFFF#000000##FFFFFF
##684EE81.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#2B7595
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684ee8;
/* rgb */ color: rgb(104, 78, 232);
/* oklch */ color: oklch(54.4% 0.221 284.0);
Tailwind
colors: {
  custom: {
    50: '#9f81f0',
    500: '#684ee8',
    950: '#000000',
  },
}
SCSS
$custom: #684ee8;
$custom-light: #9f81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ee8",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 250.13,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.22068,
    "h": 284
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#684EE8
secondary
#DCE6AC
accent
#D90CB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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