#684CD1#684CD1

#684CD1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.195 H 287.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#684CD1
RGBrgb(104, 76, 209)
HSLhsl(253, 59%, 56%)
HSVhsv(253, 64%, 82%)
CMYKcmyk(50.2%, 63.6%, 0%, 18%)
CIE-LABlab(42.33, 44.97, -64.95)
CIE-LCHlch(42.33, 79.00, 304.70°)
OKLaboklab(52.2% 0.058 -0.1862)
OKLCHoklch(52.2% 0.195 287.3)
XYZxyz(19.7986, 12.7145, 61.7202)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD1 #B5D14C
analogous
#4C72D1 #684CD1 #AB4CD1
triadic
#684CD1 #D1684C #4CD168
tetradic
#684CD1 #D14C72 #B5D14C #4CD1AB
square
#684CD1 #D14C72 #B5D14C #4CD1AB
split-complementary
#684CD1 #D1AB4C #72D14C
monochromatic
#352181 #4A2EB2 #684CD1 #917DDE #BAADEA

Accessibility & contrast

On white

5.93
#684CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#684CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CD1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD1#FFFFFF#000000##FFFFFF
##684CD11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#426C88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684cd1;
/* rgb */ color: rgb(104, 76, 209);
/* oklch */ color: oklch(52.2% 0.195 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c7fe0',
    500: '#684cd1',
    950: '#000000',
  },
}
SCSS
$custom: #684cd1;
$custom-light: #9c7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd1",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 252.632,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.522,
    "c": 0.19499,
    "h": 287.3
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#684CD1
secondary
#CCD8A1
accent
#E246C1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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