#684FD7#684FD7

#684FD7 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.199 H 285.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#684FD7
RGBrgb(104, 79, 215)
HSLhsl(251, 63%, 58%)
HSVhsv(251, 63%, 84%)
CMYKcmyk(51.6%, 63.3%, 0%, 15.7%)
CIE-LABlab(43.42, 45.03, -66.62)
CIE-LCHlch(43.42, 80.41, 304.06°)
OKLaboklab(53.13% 0.0544 -0.1911)
OKLCHoklch(53.13% 0.199 285.9)
XYZxyz(20.7670, 13.4403, 65.7768)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD7 #BED74F
analogous
#4F7AD7 #684FD7 #AC4FD7
triadic
#684FD7 #D7684F #4FD768
tetradic
#684FD7 #D74F7A #BED74F #4FD7AC
square
#684FD7 #D74F7A #BED74F #4FD7AC
split-complementary
#684FD7 #D7AC4F #7AD74F
monochromatic
#34208C #462BBE #684FD7 #9381E2 #BEB3EE

Accessibility & contrast

On white

5.69
#684FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#684FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FD7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FD7#FFFFFF#000000##FFFFFF
##684FD71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#3D708C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684fd7;
/* rgb */ color: rgb(104, 79, 215);
/* oklch */ color: oklch(53.1% 0.199 285.9);
Tailwind
colors: {
  custom: {
    50: '#9c82e4',
    500: '#684fd7',
    950: '#000000',
  },
}
SCSS
$custom: #684fd7;
$custom-light: #9c82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd7",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 251.029,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.19869,
    "h": 285.9
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#684FD7
secondary
#D2DCA6
accent
#E642C8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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