#684FA4#684FA4

#684FA4 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.5% C 0.132 H 294.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#684FA4
RGBrgb(104, 79, 164)
HSLhsl(258, 35%, 48%)
HSVhsv(258, 52%, 64%)
CMYKcmyk(36.6%, 51.8%, 0%, 35.7%)
CIE-LABlab(39.94, 30.30, -42.46)
CIE-LCHlch(39.94, 52.16, 305.51°)
OKLaboklab(49.47% 0.0551 -0.1201)
OKLCHoklch(49.47% 0.132 294.7)
XYZxyz(15.2040, 11.2151, 36.4784)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA4 #8BA44F
analogous
#4F61A4 #684FA4 #924FA4
triadic
#684FA4 #A4684F #4FA468
tetradic
#684FA4 #A44F61 #8BA44F #4FA492
square
#684FA4 #A44F61 #8BA44F #4FA492
split-complementary
#684FA4 #A4924F #61A44F
monochromatic
#342751 #4E3B7B #684FA4 #8974BC #AC9DD0

Accessibility & contrast

On white

6.48
#684FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#684FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA4#FFFFFF#000000##FFFFFF
##684FA41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#5A6072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684fa4;
/* rgb */ color: rgb(104, 79, 164);
/* oklch */ color: oklch(49.5% 0.132 294.7);
Tailwind
colors: {
  custom: {
    50: '#9681bf',
    500: '#684fa4',
    950: '#000000',
  },
}
SCSS
$custom: #684fa4;
$custom-light: #9681bf;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa4",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 257.647,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.13211,
    "h": 294.7
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#684FA4
secondary
#B0BD92
accent
#CB5DAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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