#684CC4#684CC4

#684CC4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.179 H 289.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#684CC4
RGBrgb(104, 76, 196)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 61%, 77%)
CMYKcmyk(46.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(41.37, 41.20, -58.99)
CIE-LCHlch(41.37, 71.95, 304.93°)
OKLaboklab(51.2% 0.059 -0.1687)
OKLCHoklch(51.2% 0.179 289.3)
XYZxyz(18.2543, 12.0967, 53.5869)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC4 #A8C44C
analogous
#4C6CC4 #684CC4 #A44CC4
triadic
#684CC4 #C4684C #4CC468
tetradic
#684CC4 #C44C6C #A8C44C #4CC4A4
square
#684CC4 #C44C6C #A8C44C #4CC4A4
split-complementary
#684CC4 #C4A44C #6CC44C
monochromatic
#372571 #4D349F #684CC4 #8F7AD3 #B6A8E2

Accessibility & contrast

On white

6.14
#684CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#684CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC4#FFFFFF#000000##FFFFFF
##684CC41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684cc4;
/* rgb */ color: rgb(104, 76, 196);
/* oklch */ color: oklch(51.2% 0.179 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a7fd7',
    500: '#684cc4',
    950: '#000000',
  },
}
SCSS
$custom: #684cc4;
$custom-light: #9a7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc4",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 254,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.17867,
    "h": 289.3
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#684CC4
secondary
#C4D09C
accent
#DA4EB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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