#684CD7#684CD7

#684CD7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.202 H 286.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#684CD7
RGBrgb(104, 76, 215)
HSLhsl(252, 63%, 57%)
HSVhsv(252, 65%, 84%)
CMYKcmyk(51.6%, 64.7%, 0%, 15.7%)
CIE-LABlab(42.79, 46.72, -67.65)
CIE-LCHlch(42.79, 82.22, 304.63°)
OKLaboklab(52.68% 0.0573 -0.1941)
OKLCHoklch(52.68% 0.202 286.5)
XYZxyz(20.5555, 13.0172, 65.7063)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD7 #BBD74C
analogous
#4C76D7 #684CD7 #AD4CD7
triadic
#684CD7 #D7684C #4CD768
tetradic
#684CD7 #D74C76 #BBD74C #4CD7AD
square
#684CD7 #D74C76 #BBD74C #4CD7AD
split-complementary
#684CD7 #D7AD4C #76D74C
monochromatic
#341F8A #472ABC #684CD7 #927EE2 #BCB0ED

Accessibility & contrast

On white

5.83
#684CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#684CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CD7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD7#FFFFFF#000000##FFFFFF
##684CD71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#3D6E8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684cd7;
/* rgb */ color: rgb(104, 76, 215);
/* oklch */ color: oklch(52.7% 0.202 286.5);
Tailwind
colors: {
  custom: {
    50: '#9c80e4',
    500: '#684cd7',
    950: '#000000',
  },
}
SCSS
$custom: #684cd7;
$custom-light: #9c80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd7",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 252.086,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.2024,
    "h": 286.5
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#684CD7
secondary
#D0DCA3
accent
#E641C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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