#684EC0#684EC0

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

Color values

HEX#684EC0
RGBrgb(104, 78, 192)
HSLhsl(254, 48%, 53%)
HSVhsv(254, 59%, 75%)
CMYKcmyk(45.8%, 59.4%, 0%, 24.7%)
CIE-LABlab(41.53, 38.88, -56.41)
CIE-LCHlch(41.53, 68.51, 304.57°)
OKLaboklab(51.23% 0.0569 -0.161)
OKLCHoklch(51.23% 0.171 289.5)
XYZxyz(17.9450, 12.1969, 51.2677)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EC0 #A6C04E
analogous
#4E6DC0 #684EC0 #A14EC0
triadic
#684EC0 #C0684E #4EC068
tetradic
#684EC0 #C04E6D #A6C04E #4EC0A1
square
#684EC0 #C04E6D #A6C04E #4EC0A1
split-complementary
#684EC0 #C0A14E #6DC04E
monochromatic
#37276D #4D379A #684EC0 #8F7BD0 #B5A8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684EC0#FFFFFF#000000##FFFFFF
##684EC01.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)
#0064C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#4D687F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684ec0;
/* rgb */ color: rgb(104, 78, 192);
/* oklch */ color: oklch(51.2% 0.171 289.5);
Tailwind
colors: {
  custom: {
    50: '#9980d4',
    500: '#684ec0',
    950: '#000000',
  },
}
SCSS
$custom: #684ec0;
$custom-light: #9980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#684ec0",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 253.684,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.17082,
    "h": 289.5
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#684EC0
secondary
#C2CE9C
accent
#D751B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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