#684FA8#684FA8

#684FA8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.7% C 0.138 H 293.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#684FA8
RGBrgb(104, 79, 168)
HSLhsl(257, 36%, 48%)
HSVhsv(257, 53%, 66%)
CMYKcmyk(38.1%, 53%, 0%, 34.1%)
CIE-LABlab(40.18, 31.42, -44.45)
CIE-LCHlch(40.18, 54.43, 305.25°)
OKLaboklab(49.73% 0.0554 -0.1259)
OKLCHoklch(49.73% 0.138 293.7)
XYZxyz(15.5709, 11.3618, 38.4109)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA8 #8FA84F
analogous
#4F62A8 #684FA8 #944FA8
triadic
#684FA8 #A8684F #4FA868
tetradic
#684FA8 #A84F62 #8FA84F #4FA894
square
#684FA8 #A84F62 #8FA84F #4FA894
split-complementary
#684FA8 #A8944F #62A84F
monochromatic
#342855 #4E3B7E #684FA8 #8A76BE #AE9FD2

Accessibility & contrast

On white

6.42
#684FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#684FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA8#FFFFFF#000000##FFFFFF
##684FA81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#2F5DA6
Tritanopia (blue-blind)
#586174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684fa8;
/* rgb */ color: rgb(104, 79, 168);
/* oklch */ color: oklch(49.7% 0.138 293.7);
Tailwind
colors: {
  custom: {
    50: '#9781c2',
    500: '#684fa8',
    950: '#000000',
  },
}
SCSS
$custom: #684fa8;
$custom-light: #9781c2;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa8",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 256.854,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.13756,
    "h": 293.7
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#684FA8
secondary
#B3BF94
accent
#CC5CAD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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