#684FA1#684FA1

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

Color values

HEX#684FA1
RGBrgb(104, 79, 161)
HSLhsl(258, 34%, 47%)
HSVhsv(258, 51%, 63%)
CMYKcmyk(35.4%, 50.9%, 0%, 36.9%)
CIE-LABlab(39.76, 29.47, -40.95)
CIE-LCHlch(39.76, 50.45, 305.74°)
OKLaboklab(49.28% 0.0548 -0.1157)
OKLCHoklch(49.28% 0.128 295.4)
XYZxyz(14.9363, 11.1080, 35.0684)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA1 #88A14F
analogous
#4F5FA1 #684FA1 #914FA1
triadic
#684FA1 #A1684F #4FA168
tetradic
#684FA1 #A14F5F #88A14F #4FA191
square
#684FA1 #A14F5F #88A14F #4FA191
split-complementary
#684FA1 #A1914F #5FA14F
monochromatic
#33274F #4D3B78 #684FA1 #8973BA #AB9CCE

Accessibility & contrast

On white

6.52
#684FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#684FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA1#FFFFFF#000000##FFFFFF
##684FA11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA4
Deuteranopia (green-blind)
#365D9F
Tritanopia (blue-blind)
#5B5F70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684fa1;
/* rgb */ color: rgb(104, 79, 161);
/* oklch */ color: oklch(49.3% 0.128 295.4);
Tailwind
colors: {
  custom: {
    50: '#9681bd',
    500: '#684fa1',
    950: '#000000',
  },
}
SCSS
$custom: #684fa1;
$custom-light: #9681bd;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa1",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 258.293,
    "s": 34.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.128,
    "h": 295.4
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#684FA1
secondary
#AEBB91
accent
#CA5EA9
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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