#684EE7#684EE7

#684EE7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.219 H 284.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#684EE7
RGBrgb(104, 78, 231)
HSLhsl(250, 76%, 61%)
HSVhsv(250, 66%, 91%)
CMYKcmyk(55%, 66.2%, 0%, 9.4%)
CIE-LABlab(44.46, 50.30, -74.03)
CIE-LCHlch(44.46, 89.50, 304.19°)
OKLaboklab(54.28% 0.0536 -0.2128)
OKLCHoklch(54.28% 0.219 284.1)
XYZxyz(22.8527, 14.1600, 77.1148)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EE7 #CDE74E
analogous
#4E80E7 #684EE7 #B44EE7
triadic
#684EE7 #E7684E #4EE768
tetradic
#684EE7 #E74E80 #CDE74E #4EE7B4
square
#684EE7 #E74E80 #CDE74E #4EE7B4
split-complementary
#684EE7 #E7B44E #80E74E
monochromatic
#2E16A4 #3E1EDA #684EE7 #9684EE #C4BAF6

Accessibility & contrast

On white

5.48
#684EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#684EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EE7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EE7#FFFFFF#000000##FFFFFF
##684EE71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#2C7594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684ee7;
/* rgb */ color: rgb(104, 78, 231);
/* oklch */ color: oklch(54.3% 0.219 284.1);
Tailwind
colors: {
  custom: {
    50: '#9f81f0',
    500: '#684ee7',
    950: '#000000',
  },
}
SCSS
$custom: #684ee7;
$custom-light: #9f81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ee7",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 250.196,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.21948,
    "h": 284.1
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#684EE7
secondary
#DCE5AB
accent
#D80DB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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