#684EDB#684EDB

#684EDB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.3% C 0.205 H 285.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#684EDB
RGBrgb(104, 78, 219)
HSLhsl(251, 66%, 58%)
HSVhsv(251, 64%, 86%)
CMYKcmyk(52.5%, 64.4%, 0%, 14.1%)
CIE-LABlab(43.51, 46.77, -68.75)
CIE-LCHlch(43.51, 83.16, 304.23°)
OKLaboklab(53.3% 0.055 -0.1974)
OKLCHoklch(53.3% 0.205 285.6)
XYZxyz(21.2157, 13.5052, 68.4930)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EDB #C1DB4E
analogous
#4E7ADB #684EDB #AE4EDB
triadic
#684EDB #DB684E #4EDB68
tetradic
#684EDB #DB4E7A #C1DB4E #4EDBAE
square
#684EDB #DB4E7A #C1DB4E #4EDBAE
split-complementary
#684EDB #DBAE4E #7ADB4E
monochromatic
#331E91 #4528C4 #684EDB #9381E5 #BFB4F0

Accessibility & contrast

On white

5.67
#684EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#684EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EDB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EDB#FFFFFF#000000##FFFFFF
##684EDB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#39718E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684edb;
/* rgb */ color: rgb(104, 78, 219);
/* oklch */ color: oklch(53.3% 0.205 285.6);
Tailwind
colors: {
  custom: {
    50: '#9d81e7',
    500: '#684edb',
    950: '#000000',
  },
}
SCSS
$custom: #684edb;
$custom-light: #9d81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#684edb",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 251.064,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.20488,
    "h": 285.6
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#684EDB
secondary
#D4DEA6
accent
#E93FCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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