#684EDC#684EDC

#684EDC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.4% C 0.206 H 285.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#684EDC
RGBrgb(104, 78, 220)
HSLhsl(251, 67%, 58%)
HSVhsv(251, 65%, 86%)
CMYKcmyk(52.7%, 64.5%, 0%, 13.7%)
CIE-LABlab(43.59, 47.07, -69.20)
CIE-LCHlch(43.59, 83.69, 304.22°)
OKLaboklab(53.38% 0.0549 -0.1987)
OKLCHoklch(53.38% 0.206 285.4)
XYZxyz(21.3477, 13.5580, 69.1884)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EDC #C2DC4E
analogous
#4E7BDC #684EDC #AF4EDC
triadic
#684EDC #DC684E #4EDC68
tetradic
#684EDC #DC4E7B #C2DC4E #4EDCAF
square
#684EDC #DC4E7B #C2DC4E #4EDCAF
split-complementary
#684EDC #DCAF4E #7BDC4E
monochromatic
#331D93 #4427C6 #684EDC #9481E6 #BFB4F0

Accessibility & contrast

On white

5.66
#684EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#684EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EDC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EDC#FFFFFF#000000##FFFFFF
##684EDC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#38718E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684edc;
/* rgb */ color: rgb(104, 78, 220);
/* oklch */ color: oklch(53.4% 0.206 285.4);
Tailwind
colors: {
  custom: {
    50: '#9d81e8',
    500: '#684edc',
    950: '#000000',
  },
}
SCSS
$custom: #684edc;
$custom-light: #9d81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#684edc",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 250.986,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.2061,
    "h": 285.4
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#684EDC
secondary
#D5DFA7
accent
#EA3ECA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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