#684FA9#684FA9

#684FA9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.139 H 293.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#684FA9
RGBrgb(104, 79, 169)
HSLhsl(257, 36%, 49%)
HSVhsv(257, 53%, 66%)
CMYKcmyk(38.5%, 53.3%, 0%, 33.7%)
CIE-LABlab(40.24, 31.70, -44.94)
CIE-LCHlch(40.24, 55.00, 305.19°)
OKLaboklab(49.79% 0.0555 -0.1274)
OKLCHoklch(49.79% 0.139 293.5)
XYZxyz(15.6644, 11.3992, 38.9034)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FA9 #90A94F
analogous
#4F63A9 #684FA9 #954FA9
triadic
#684FA9 #A9684F #4FA968
tetradic
#684FA9 #A94F63 #90A94F #4FA995
square
#684FA9 #A94F63 #90A94F #4FA995
split-complementary
#684FA9 #A9954F #63A94F
monochromatic
#352856 #4E3C7F #684FA9 #8A76BF #AEA0D3

Accessibility & contrast

On white

6.40
#684FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#684FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FA9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FA9#FFFFFF#000000##FFFFFF
##684FA91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AC
Deuteranopia (green-blind)
#2E5DA7
Tritanopia (blue-blind)
#586174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684fa9;
/* rgb */ color: rgb(104, 79, 169);
/* oklch */ color: oklch(49.8% 0.139 293.5);
Tailwind
colors: {
  custom: {
    50: '#9781c3',
    500: '#684fa9',
    950: '#000000',
  },
}
SCSS
$custom: #684fa9;
$custom-light: #9781c3;
$custom-dark: #000000;
JSON
{
  "hex": "#684fa9",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 256.667,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.13891,
    "h": 293.5
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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