#684EDF#684EDF

#684EDF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.6% C 0.210 H 285.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#684EDF
RGBrgb(104, 78, 223)
HSLhsl(251, 69%, 59%)
HSVhsv(251, 65%, 87%)
CMYKcmyk(53.4%, 65%, 0%, 12.5%)
CIE-LABlab(43.83, 47.95, -70.53)
CIE-LCHlch(43.83, 85.28, 304.21°)
OKLaboklab(53.62% 0.0546 -0.2026)
OKLCHoklch(53.62% 0.21 285.1)
XYZxyz(21.7486, 13.7183, 71.2996)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EDF #C5DF4E
analogous
#4E7DDF #684EDF #B14EDF
triadic
#684EDF #DF684E #4EDF68
tetradic
#684EDF #DF4E7D #C5DF4E #4EDFB1
square
#684EDF #DF4E7D #C5DF4E #4EDFB1
split-complementary
#684EDF #DFB14E #7DDF4E
monochromatic
#321B97 #4325CB #684EDF #9482E8 #C0B6F2

Accessibility & contrast

On white

5.61
#684EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#684EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EDF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EDF#FFFFFF#000000##FFFFFF
##684EDF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#357290
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684edf;
/* rgb */ color: rgb(104, 78, 223);
/* oklch */ color: oklch(53.6% 0.210 285.1);
Tailwind
colors: {
  custom: {
    50: '#9d81ea',
    500: '#684edf',
    950: '#000000',
  },
}
SCSS
$custom: #684edf;
$custom-light: #9d81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#684edf",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 250.759,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.20978,
    "h": 285.1
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#684EDF
secondary
#D7E1A8
accent
#EC3CCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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