#684CDC#684CDC

#684CDC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.209 H 285.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#684CDC
RGBrgb(104, 76, 220)
HSLhsl(252, 67%, 58%)
HSVhsv(252, 65%, 86%)
CMYKcmyk(52.7%, 65.5%, 0%, 13.7%)
CIE-LABlab(43.18, 48.18, -69.87)
CIE-LCHlch(43.18, 84.87, 304.59°)
OKLaboklab(53.08% 0.0568 -0.2006)
OKLCHoklch(53.08% 0.209 285.8)
XYZxyz(21.2078, 13.2781, 69.1417)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CDC #C0DC4C
analogous
#4C78DC #684CDC #B04CDC
triadic
#684CDC #DC684C #4CDC68
tetradic
#684CDC #DC4C78 #C0DC4C #4CDCB0
square
#684CDC #DC4C78 #C0DC4C #4CDCB0
split-complementary
#684CDC #DCB04C #78DC4C
monochromatic
#331C91 #4526C4 #684CDC #937FE6 #BEB2F0

Accessibility & contrast

On white

5.74
#684CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#684CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CDC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CDC#FFFFFF#000000##FFFFFF
##684CDC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#39708D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684cdc;
/* rgb */ color: rgb(104, 76, 220);
/* oklch */ color: oklch(53.1% 0.209 285.8);
Tailwind
colors: {
  custom: {
    50: '#9d80e8',
    500: '#684cdc',
    950: '#000000',
  },
}
SCSS
$custom: #684cdc;
$custom-light: #9d80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#684cdc",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 251.667,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.20851,
    "h": 285.8
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#684CDC
secondary
#D3DFA5
accent
#EA3EC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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