#684396#684396

#684396 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.5% C 0.133 H 302.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#684396
RGBrgb(104, 67, 150)
HSLhsl(267, 38%, 43%)
HSVhsv(267, 55%, 59%)
CMYKcmyk(30.7%, 55.3%, 0%, 41.2%)
CIE-LABlab(36.29, 33.67, -39.87)
CIE-LCHlch(36.29, 52.19, 310.18°)
OKLaboklab(46.49% 0.0705 -0.1125)
OKLCHoklch(46.49% 0.133 302.1)
XYZxyz(13.2198, 9.1594, 29.9197)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684396 #719643
analogous
#434796 #684396 #924396
triadic
#684396 #966843 #439668
tetradic
#684396 #964347 #719643 #439692
square
#684396 #964347 #719643 #439692
split-complementary
#684396 #969243 #479643
monochromatic
#2D1D41 #4B306C #684396 #865FB7 #A689CA

Accessibility & contrast

On white

7.42
#684396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#684396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684396
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684396#FFFFFF#000000##FFFFFF
##6843961.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#5F5366
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #684396;
/* rgb */ color: rgb(104, 67, 150);
/* oklch */ color: oklch(46.5% 0.133 302.1);
Tailwind
colors: {
  custom: {
    50: '#9678b5',
    500: '#684396',
    950: '#000000',
  },
}
SCSS
$custom: #684396;
$custom-light: #9678b5;
$custom-dark: #000000;
JSON
{
  "hex": "#684396",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 266.747,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.13275,
    "h": 302.1
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#684396
secondary
#9DB57F
accent
#CE5A9A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684396

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

Preview Lab → · Contrast checker → · Palette generator →

#684396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva