#684CC7#684CC7

#684CC7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.182 H 288.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#684CC7
RGBrgb(104, 76, 199)
HSLhsl(254, 52%, 54%)
HSVhsv(254, 62%, 78%)
CMYKcmyk(47.7%, 61.8%, 0%, 22%)
CIE-LABlab(41.59, 42.06, -60.38)
CIE-LCHlch(41.59, 73.59, 304.86°)
OKLaboklab(51.43% 0.0588 -0.1727)
OKLCHoklch(51.43% 0.182 288.8)
XYZxyz(18.5992, 12.2347, 55.4033)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC7 #ABC74C
analogous
#4C6EC7 #684CC7 #A64CC7
triadic
#684CC7 #C7684C #4CC768
tetradic
#684CC7 #C74C6E #ABC74C #4CC7A6
square
#684CC7 #C74C6E #ABC74C #4CC7A6
split-complementary
#684CC7 #C7A64C #6EC74C
monochromatic
#372474 #4C33A3 #684CC7 #8F7BD6 #B7A9E4

Accessibility & contrast

On white

6.09
#684CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#684CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC7#FFFFFF#000000##FFFFFF
##684CC71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#496982
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684cc7;
/* rgb */ color: rgb(104, 76, 199);
/* oklch */ color: oklch(51.4% 0.182 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fd9',
    500: '#684cc7',
    950: '#000000',
  },
}
SCSS
$custom: #684cc7;
$custom-light: #9a7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc7",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 253.659,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.18248,
    "h": 288.8
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#684CC7
secondary
#C6D29D
accent
#DC4CBB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #684CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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