#684DE7#684DE7

#684DE7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.221 H 284.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#684DE7
RGBrgb(104, 77, 231)
HSLhsl(251, 76%, 60%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(55%, 66.7%, 0%, 9.4%)
CIE-LABlab(44.26, 50.85, -74.36)
CIE-LCHlch(44.26, 90.08, 304.37°)
OKLaboklab(54.13% 0.0544 -0.2138)
OKLCHoklch(54.13% 0.221 284.3)
XYZxyz(22.7822, 14.0190, 77.0913)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DE7 #CCE74D
analogous
#4D7FE7 #684DE7 #B54DE7
triadic
#684DE7 #E7684D #4DE768
tetradic
#684DE7 #E74D7F #CCE74D #4DE7B5
square
#684DE7 #E74D7F #CCE74D #4DE7B5
split-complementary
#684DE7 #E7B54D #7FE74D
monochromatic
#2F16A4 #3E1DD9 #684DE7 #9683EE #C3B9F6

Accessibility & contrast

On white

5.52
#684DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684DE7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DE7#FFFFFF#000000##FFFFFF
##684DE71.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684de7;
/* rgb */ color: rgb(104, 77, 231);
/* oklch */ color: oklch(54.1% 0.221 284.3);
Tailwind
colors: {
  custom: {
    50: '#9f81f0',
    500: '#684de7',
    950: '#000000',
  },
}
SCSS
$custom: #684de7;
$custom-light: #9f81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#684de7",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 250.519,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.22063,
    "h": 284.3
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#684DE7
secondary
#DBE5AA
accent
#D80DB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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