#684EB3#684EB3

#684EB3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.154 H 291.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#684EB3
RGBrgb(104, 78, 179)
HSLhsl(255, 40%, 50%)
HSVhsv(255, 56%, 70%)
CMYKcmyk(41.9%, 56.4%, 0%, 29.8%)
CIE-LABlab(40.65, 35.13, -50.21)
CIE-LCHlch(40.65, 61.28, 304.98°)
OKLaboklab(50.3% 0.0571 -0.1428)
OKLCHoklch(50.3% 0.154 291.8)
XYZxyz(16.5678, 11.6460, 44.0141)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB3 #99B34E
analogous
#4E66B3 #684EB3 #9B4EB3
triadic
#684EB3 #B3684E #4EB368
tetradic
#684EB3 #B34E66 #99B34E #4EB39B
square
#684EB3 #B34E66 #99B34E #4EB39B
split-complementary
#684EB3 #B39B4E #66B34E
monochromatic
#36285E #4F3B89 #684EB3 #8D79C5 #B1A4D8

Accessibility & contrast

On white

6.31
#684EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#684EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EB3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EB3#FFFFFF#000000##FFFFFF
##684EB31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#1F5EB1
Tritanopia (blue-blind)
#536479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684eb3;
/* rgb */ color: rgb(104, 78, 179);
/* oklch */ color: oklch(50.3% 0.154 291.8);
Tailwind
colors: {
  custom: {
    50: '#9880ca',
    500: '#684eb3',
    950: '#000000',
  },
}
SCSS
$custom: #684eb3;
$custom-light: #9880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb3",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 255.446,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.15381,
    "h": 291.8
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#684EB3
secondary
#B9C598
accent
#D058B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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