#684DC5#684DC5

#684DC5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.179 H 288.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#684DC5
RGBrgb(104, 77, 197)
HSLhsl(254, 51%, 54%)
HSVhsv(254, 61%, 77%)
CMYKcmyk(47.2%, 60.9%, 0%, 22.7%)
CIE-LABlab(41.66, 40.91, -59.10)
CIE-LCHlch(41.66, 71.88, 304.69°)
OKLaboklab(51.43% 0.0578 -0.169)
OKLCHoklch(51.43% 0.179 288.9)
XYZxyz(18.4380, 12.2813, 54.2115)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC5 #AAC54D
analogous
#4D6EC5 #684DC5 #A44DC5
triadic
#684DC5 #C5684D #4DC568
tetradic
#684DC5 #C54D6E #AAC54D #4DC5A4
square
#684DC5 #C54D6E #AAC54D #4DC5A4
split-complementary
#684DC5 #C5A44D #6EC54D
monochromatic
#372572 #4D34A0 #684DC5 #8F7BD4 #B6A9E3

Accessibility & contrast

On white

6.08
#684DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#684DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC5#FFFFFF#000000##FFFFFF
##684DC51.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#4A6982
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684dc5;
/* rgb */ color: rgb(104, 77, 197);
/* oklch */ color: oklch(51.4% 0.179 288.9);
Tailwind
colors: {
  custom: {
    50: '#9a80d7',
    500: '#684dc5',
    950: '#000000',
  },
}
SCSS
$custom: #684dc5;
$custom-light: #9a80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc5",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 253.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.1786,
    "h": 288.9
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#684DC5
secondary
#C5D19D
accent
#DA4DBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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