#684DE5#684DE5

#684DE5 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.218 H 284.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#684DE5
RGBrgb(104, 77, 229)
HSLhsl(251, 75%, 60%)
HSVhsv(251, 66%, 90%)
CMYKcmyk(54.6%, 66.4%, 0%, 10.2%)
CIE-LABlab(44.10, 50.26, -73.49)
CIE-LCHlch(44.10, 89.04, 304.37°)
OKLaboklab(53.97% 0.0547 -0.2113)
OKLCHoklch(53.97% 0.218 284.5)
XYZxyz(22.5014, 13.9066, 75.6121)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DE5 #CAE54D
analogous
#4D7EE5 #684DE5 #B44DE5
triadic
#684DE5 #E5684D #4DE568
tetradic
#684DE5 #E54D7E #CAE54D #4DE5B4
square
#684DE5 #E54D7E #CAE54D #4DE5B4
split-complementary
#684DE5 #E5B44D #7EE54D
monochromatic
#3017A0 #401FD6 #684DE5 #9582ED #C3B8F5

Accessibility & contrast

On white

5.55
#684DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#684DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DE5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DE5#FFFFFF#000000##FFFFFF
##684DE51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#2F7493
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684de5;
/* rgb */ color: rgb(104, 77, 229);
/* oklch */ color: oklch(54.0% 0.218 284.5);
Tailwind
colors: {
  custom: {
    50: '#9e81ee',
    500: '#684de5',
    950: '#000000',
  },
}
SCSS
$custom: #684de5;
$custom-light: #9e81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#684de5",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 250.658,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.21823,
    "h": 284.5
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#684DE5
secondary
#DAE4AA
accent
#F137D0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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