#684FA2#684FA2

#684FA2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.3% C 0.129 H 295.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#684FA2
RGBrgb(104, 79, 162)
HSLhsl(258, 34%, 47%)
HSVhsv(258, 51%, 64%)
CMYKcmyk(35.8%, 51.2%, 0%, 36.5%)
CIE-LABlab(39.82, 29.74, -41.45)
CIE-LCHlch(39.82, 51.02, 305.66°)
OKLaboklab(49.34% 0.0549 -0.1171)
OKLCHoklch(49.34% 0.129 295.1)
XYZxyz(15.0248, 11.1434, 35.5347)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA2 #89A24F
analogous
#4F60A2 #684FA2 #924FA2
triadic
#684FA2 #A2684F #4FA268
tetradic
#684FA2 #A24F60 #89A24F #4FA292
square
#684FA2 #A24F60 #89A24F #4FA292
split-complementary
#684FA2 #A2924F #60A24F
monochromatic
#332750 #4E3B79 #684FA2 #8973BB #AC9CCF

Accessibility & contrast

On white

6.50
#684FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#684FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA2#FFFFFF#000000##FFFFFF
##684FA21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA5
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#5A5F71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684fa2;
/* rgb */ color: rgb(104, 79, 162);
/* oklch */ color: oklch(49.3% 0.129 295.1);
Tailwind
colors: {
  custom: {
    50: '#9681be',
    500: '#684fa2',
    950: '#000000',
  },
}
SCSS
$custom: #684fa2;
$custom-light: #9681be;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa2",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 258.072,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.12937,
    "h": 295.1
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#684FA2
secondary
#AFBC91
accent
#CB5DAA
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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