#684DE6#684DE6

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

Color values

HEX#684DE6
RGBrgb(104, 77, 230)
HSLhsl(251, 75%, 60%)
HSVhsv(251, 67%, 90%)
CMYKcmyk(54.8%, 66.5%, 0%, 9.8%)
CIE-LABlab(44.18, 50.56, -73.93)
CIE-LCHlch(44.18, 89.56, 304.37°)
OKLaboklab(54.05% 0.0546 -0.2125)
OKLCHoklch(54.05% 0.219 284.4)
XYZxyz(22.6414, 13.9627, 76.3496)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DE6 #CBE64D
analogous
#4D7FE6 #684DE6 #B44DE6
triadic
#684DE6 #E6684D #4DE668
tetradic
#684DE6 #E64D7F #CBE64D #4DE6B4
square
#684DE6 #E64D7F #CBE64D #4DE6B4
split-complementary
#684DE6 #E6B44D #7FE64D
monochromatic
#2F17A2 #3F1ED8 #684DE6 #9683EE #C3B8F5

Accessibility & contrast

On white

5.54
#684DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#684DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DE6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DE6#FFFFFF#000000##FFFFFF
##684DE61.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#2D7493
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684de6;
/* rgb */ color: rgb(104, 77, 230);
/* oklch */ color: oklch(54.0% 0.219 284.4);
Tailwind
colors: {
  custom: {
    50: '#9e81ef',
    500: '#684de6',
    950: '#000000',
  },
}
SCSS
$custom: #684de6;
$custom-light: #9e81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#684de6",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 250.588,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54048,
    "c": 0.21943,
    "h": 284.4
  },
  "luminance": 0.13964
}

Semantic roles & 50–950 ramp

primary
#684DE6
secondary
#DAE5AA
accent
#D80EB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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