#684DC3#684DC3

#684DC3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.176 H 289.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#684DC3
RGBrgb(104, 77, 195)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.7%, 60.5%, 0%, 23.5%)
CIE-LABlab(41.52, 40.33, -58.17)
CIE-LCHlch(41.52, 70.78, 304.73°)
OKLaboklab(51.28% 0.0579 -0.1662)
OKLCHoklch(51.28% 0.176 289.2)
XYZxyz(18.2103, 12.1902, 53.0126)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DC3 #A8C34D
analogous
#4D6DC3 #684DC3 #A34DC3
triadic
#684DC3 #C3684D #4DC368
tetradic
#684DC3 #C34D6D #A8C34D #4DC3A3
square
#684DC3 #C34D6D #A8C34D #4DC3A3
split-complementary
#684DC3 #C3A34D #6DC34D
monochromatic
#372670 #4D359E #684DC3 #8F7BD2 #B6A9E2

Accessibility & contrast

On white

6.11
#684DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#684DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DC3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DC3#FFFFFF#000000##FFFFFF
##684DC31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#4B6881
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684dc3;
/* rgb */ color: rgb(104, 77, 195);
/* oklch */ color: oklch(51.3% 0.176 289.2);
Tailwind
colors: {
  custom: {
    50: '#9a80d6',
    500: '#684dc3',
    950: '#000000',
  },
}
SCSS
$custom: #684dc3;
$custom-light: #9a80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#684dc3",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 253.729,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.17604,
    "h": 289.2
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#684DC3
secondary
#C4CF9D
accent
#D94FB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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