#684DC7#684DC7

#684DC7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.181 H 288.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#684DC7
RGBrgb(104, 77, 199)
HSLhsl(253, 52%, 54%)
HSVhsv(253, 61%, 78%)
CMYKcmyk(47.7%, 61.3%, 0%, 22%)
CIE-LABlab(41.80, 41.49, -60.03)
CIE-LCHlch(41.80, 72.97, 304.65°)
OKLaboklab(51.58% 0.0577 -0.1717)
OKLCHoklch(51.58% 0.181 288.6)
XYZxyz(18.6686, 12.3736, 55.4264)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC7 #ACC74D
analogous
#4D6FC7 #684DC7 #A54DC7
triadic
#684DC7 #C7684D #4DC768
tetradic
#684DC7 #C74D6F #ACC74D #4DC7A5
square
#684DC7 #C74D6F #ACC74D #4DC7A5
split-complementary
#684DC7 #C7A54D #6FC74D
monochromatic
#362575 #4C33A3 #684DC7 #8F7CD6 #B7AAE4

Accessibility & contrast

On white

6.04
#684DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#684DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC7#FFFFFF#000000##FFFFFF
##684DC71.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#496983
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684dc7;
/* rgb */ color: rgb(104, 77, 199);
/* oklch */ color: oklch(51.6% 0.181 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a80d9',
    500: '#684dc7',
    950: '#000000',
  },
}
SCSS
$custom: #684dc7;
$custom-light: #9a80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc7",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 253.279,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.18115,
    "h": 288.6
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#684DC7
secondary
#C6D29E
accent
#DC4CBC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #684DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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