#684EC1#684EC1

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

Color values

HEX#684EC1
RGBrgb(104, 78, 193)
HSLhsl(254, 48%, 53%)
HSVhsv(254, 60%, 76%)
CMYKcmyk(46.1%, 59.6%, 0%, 24.3%)
CIE-LABlab(41.60, 39.17, -56.88)
CIE-LCHlch(41.60, 69.06, 304.55°)
OKLaboklab(51.3% 0.0569 -0.1624)
OKLCHoklch(51.3% 0.172 289.3)
XYZxyz(18.0562, 12.2414, 51.8532)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EC1 #A7C14E
analogous
#4E6DC1 #684EC1 #A14EC1
triadic
#684EC1 #C1684E #4EC168
tetradic
#684EC1 #C14E6D #A7C14E #4EC1A1
square
#684EC1 #C14E6D #A7C14E #4EC1A1
split-complementary
#684EC1 #C1A14E #6DC14E
monochromatic
#37276E #4D369B #684EC1 #8F7BD1 #B5A9E1

Accessibility & contrast

On white

6.09
#684EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#684EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EC1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EC1#FFFFFF#000000##FFFFFF
##684EC11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#4C6880
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684ec1;
/* rgb */ color: rgb(104, 78, 193);
/* oklch */ color: oklch(51.3% 0.172 289.3);
Tailwind
colors: {
  custom: {
    50: '#9980d4',
    500: '#684ec1',
    950: '#000000',
  },
}
SCSS
$custom: #684ec1;
$custom-light: #9980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#684ec1",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 253.565,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.17212,
    "h": 289.3
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#684EC1
secondary
#C3CE9D
accent
#D850B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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