#684EB4#684EB4

#684EB4 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.155 H 291.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#684EB4
RGBrgb(104, 78, 180)
HSLhsl(255, 40%, 51%)
HSVhsv(255, 57%, 71%)
CMYKcmyk(42.2%, 56.7%, 0%, 29.4%)
CIE-LABlab(40.71, 35.42, -50.69)
CIE-LCHlch(40.71, 61.84, 304.94°)
OKLaboklab(50.37% 0.0571 -0.1442)
OKLCHoklch(50.37% 0.155 291.6)
XYZxyz(16.6693, 11.6866, 44.5486)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB4 #9AB44E
analogous
#4E67B4 #684EB4 #9B4EB4
triadic
#684EB4 #B4684E #4EB468
tetradic
#684EB4 #B44E67 #9AB44E #4EB49B
square
#684EB4 #B44E67 #9AB44E #4EB49B
split-complementary
#684EB4 #B49B4E #67B44E
monochromatic
#36285F #4F3B8A #684EB4 #8D79C6 #B1A4D8

Accessibility & contrast

On white

6.29
#684EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#684EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EB4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EB4#FFFFFF#000000##FFFFFF
##684EB41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B7
Deuteranopia (green-blind)
#1D5EB2
Tritanopia (blue-blind)
#536479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684eb4;
/* rgb */ color: rgb(104, 78, 180);
/* oklch */ color: oklch(50.4% 0.155 291.6);
Tailwind
colors: {
  custom: {
    50: '#9880cb',
    500: '#684eb4',
    950: '#000000',
  },
}
SCSS
$custom: #684eb4;
$custom-light: #9880cb;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb4",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 255.294,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50367,
    "c": 0.15513,
    "h": 291.6
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#684EB4
secondary
#BAC698
accent
#D057B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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