#684DC6#684DC6

#684DC6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.180 H 288.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#684DC6
RGBrgb(104, 77, 198)
HSLhsl(253, 51%, 54%)
HSVhsv(253, 61%, 78%)
CMYKcmyk(47.5%, 61.1%, 0%, 22.4%)
CIE-LABlab(41.73, 41.20, -59.57)
CIE-LCHlch(41.73, 72.43, 304.67°)
OKLaboklab(51.51% 0.0578 -0.1703)
OKLCHoklch(51.51% 0.18 288.7)
XYZxyz(18.5529, 12.3273, 54.8170)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC6 #ABC64D
analogous
#4D6FC6 #684DC6 #A44DC6
triadic
#684DC6 #C6684D #4DC668
tetradic
#684DC6 #C64D6F #ABC64D #4DC6A4
square
#684DC6 #C64D6F #ABC64D #4DC6A4
split-complementary
#684DC6 #C6A44D #6FC64D
monochromatic
#372574 #4C34A2 #684DC6 #8F7BD5 #B7AAE4

Accessibility & contrast

On white

6.06
#684DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684DC6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC6#FFFFFF#000000##FFFFFF
##684DC61.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684dc6;
/* rgb */ color: rgb(104, 77, 198);
/* oklch */ color: oklch(51.5% 0.180 288.7);
Tailwind
colors: {
  custom: {
    50: '#9a80d8',
    500: '#684dc6',
    950: '#000000',
  },
}
SCSS
$custom: #684dc6;
$custom-light: #9a80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc6",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 253.388,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.17988,
    "h": 288.7
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#684DC6
secondary
#C6D19E
accent
#DB4DBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #684DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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