#684CC9#684CC9

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

Color values

HEX#684CC9
RGBrgb(104, 76, 201)
HSLhsl(253, 54%, 54%)
HSVhsv(253, 62%, 79%)
CMYKcmyk(48.3%, 62.2%, 0%, 21.2%)
CIE-LABlab(41.73, 42.64, -61.30)
CIE-LCHlch(41.73, 74.68, 304.82°)
OKLaboklab(51.58% 0.0586 -0.1755)
OKLCHoklch(51.58% 0.185 288.5)
XYZxyz(18.8329, 12.3282, 56.6343)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC9 #ADC94C
analogous
#4C6FC9 #684CC9 #A74CC9
triadic
#684CC9 #C9684C #4CC968
tetradic
#684CC9 #C94C6F #ADC94C #4CC9A7
square
#684CC9 #C94C6F #ADC94C #4CC9A7
split-complementary
#684CC9 #C9A74C #6FC94C
monochromatic
#362477 #4C32A6 #684CC9 #907BD7 #B7AAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684CC9#FFFFFF#000000##FFFFFF
##684CC91.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)
#0065CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#476983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684cc9;
/* rgb */ color: rgb(104, 76, 201);
/* oklch */ color: oklch(51.6% 0.185 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b7fda',
    500: '#684cc9',
    950: '#000000',
  },
}
SCSS
$custom: #684cc9;
$custom-light: #9b7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc9",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 253.44,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.185,
    "h": 288.5
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#684CC9
secondary
#C7D39E
accent
#DD4BBC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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