#684EEA#684EEA

#684EEA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.223 H 283.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#684EEA
RGBrgb(104, 78, 234)
HSLhsl(250, 79%, 61%)
HSVhsv(250, 67%, 92%)
CMYKcmyk(55.6%, 66.7%, 0%, 8.2%)
CIE-LABlab(44.70, 51.18, -75.33)
CIE-LCHlch(44.70, 91.07, 304.19°)
OKLaboklab(54.53% 0.0531 -0.2167)
OKLCHoklch(54.53% 0.223 283.8)
XYZxyz(23.2800, 14.3309, 79.3654)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EEA #D0EA4E
analogous
#4E82EA #684EEA #B64EEA
triadic
#684EEA #EA684E #4EEA68
tetradic
#684EEA #EA4E82 #D0EA4E #4EEAB6
square
#684EEA #EA4E82 #D0EA4E #4EEAB6
split-complementary
#684EEA #EAB64E #82EA4E
monochromatic
#2D14A9 #3C1BE0 #684EEA #9785F0 #C5BBF7

Accessibility & contrast

On white

5.43
#684EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#684EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EEA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EEA#FFFFFF#000000##FFFFFF
##684EEA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#287696
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #684eea;
/* rgb */ color: rgb(104, 78, 234);
/* oklch */ color: oklch(54.5% 0.223 283.8);
Tailwind
colors: {
  custom: {
    50: '#9f81f2',
    500: '#684eea',
    950: '#000000',
  },
}
SCSS
$custom: #684eea;
$custom-light: #9f81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#684eea",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 250,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.22309,
    "h": 283.8
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#684EEA
secondary
#DDE7AD
accent
#DB0AB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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