#684EB2#684EB2

#684EB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.152 H 292.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#684EB2
RGBrgb(104, 78, 178)
HSLhsl(256, 39%, 50%)
HSVhsv(256, 56%, 70%)
CMYKcmyk(41.6%, 56.2%, 0%, 30.2%)
CIE-LABlab(40.58, 34.85, -49.73)
CIE-LCHlch(40.58, 60.72, 305.02°)
OKLaboklab(50.23% 0.0571 -0.1414)
OKLCHoklch(50.23% 0.152 292)
XYZxyz(16.4670, 11.6057, 43.4834)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB2 #98B24E
analogous
#4E66B2 #684EB2 #9A4EB2
triadic
#684EB2 #B2684E #4EB268
tetradic
#684EB2 #B24E66 #98B24E #4EB29A
square
#684EB2 #B24E66 #98B24E #4EB29A
split-complementary
#684EB2 #B29A4E #66B24E
monochromatic
#36295D #4F3B88 #684EB2 #8C79C5 #B1A3D7

Accessibility & contrast

On white

6.32
#684EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#684EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684EB2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684EB2#FFFFFF#000000##FFFFFF
##684EB21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#546378
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684eb2;
/* rgb */ color: rgb(104, 78, 178);
/* oklch */ color: oklch(50.2% 0.152 292.0);
Tailwind
colors: {
  custom: {
    50: '#9880ca',
    500: '#684eb2',
    950: '#000000',
  },
}
SCSS
$custom: #684eb2;
$custom-light: #9880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb2",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 255.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.15248,
    "h": 292
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#684EB2
secondary
#B9C498
accent
#CF59B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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