#684DCA#684DCA

#684DCA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.185 H 288.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#684DCA
RGBrgb(104, 77, 202)
HSLhsl(253, 54%, 55%)
HSVhsv(253, 62%, 79%)
CMYKcmyk(48.5%, 61.9%, 0%, 20.8%)
CIE-LABlab(42.02, 42.36, -61.41)
CIE-LCHlch(42.02, 74.61, 304.60°)
OKLaboklab(51.81% 0.0575 -0.1758)
OKLCHoklch(51.81% 0.185 288.1)
XYZxyz(19.0204, 12.5143, 57.2790)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DCA #AFCA4D
analogous
#4D71CA #684DCA #A74DCA
triadic
#684DCA #CA684D #4DCA68
tetradic
#684DCA #CA4D71 #AFCA4D #4DCAA7
square
#684DCA #CA4D71 #AFCA4D #4DCAA7
split-complementary
#684DCA #CAA74D #71CA4D
monochromatic
#362479 #4B32A8 #684DCA #907CD8 #B8ABE6

Accessibility & contrast

On white

5.99
#684DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#684DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DCA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DCA#FFFFFF#000000##FFFFFF
##684DCA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#476A84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684dca;
/* rgb */ color: rgb(104, 77, 202);
/* oklch */ color: oklch(51.8% 0.185 288.1);
Tailwind
colors: {
  custom: {
    50: '#9b80db',
    500: '#684dca',
    950: '#000000',
  },
}
SCSS
$custom: #684dca;
$custom-light: #9b80db;
$custom-dark: #000000;
JSON
{
  "hex": "#684dca",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 252.96,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.18495,
    "h": 288.1
  },
  "luminance": 0.12515
}

Semantic roles & 50–950 ramp

primary
#684DCA
secondary
#C8D49F
accent
#DD4ABE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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