#684394#684394

#684394 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.4% C 0.130 H 302.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#684394
RGBrgb(104, 67, 148)
HSLhsl(267, 38%, 42%)
HSVhsv(267, 55%, 58%)
CMYKcmyk(29.7%, 54.7%, 0%, 42%)
CIE-LABlab(36.17, 33.15, -38.85)
CIE-LCHlch(36.17, 51.07, 310.47°)
OKLaboklab(46.36% 0.0704 -0.1095)
OKLCHoklch(46.36% 0.13 302.7)
XYZxyz(13.0602, 9.0955, 29.0788)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684394 #6F9443
analogous
#434794 #684394 #904394
triadic
#684394 #946843 #439468
tetradic
#684394 #944347 #6F9443 #439490
square
#684394 #944347 #6F9443 #439490
split-complementary
#684394 #949043 #479443
monochromatic
#2D1D40 #4A306A #684394 #865EB6 #A688C9

Accessibility & contrast

On white

7.45
#684394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#684394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684394
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684394#FFFFFF#000000##FFFFFF
##6843941.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#325592
Tritanopia (blue-blind)
#605265
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #684394;
/* rgb */ color: rgb(104, 67, 148);
/* oklch */ color: oklch(46.4% 0.130 302.7);
Tailwind
colors: {
  custom: {
    50: '#9678b4',
    500: '#684394',
    950: '#000000',
  },
}
SCSS
$custom: #684394;
$custom-light: #9678b4;
$custom-dark: #000000;
JSON
{
  "hex": "#684394",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 267.407,
    "s": 37.674,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.13017,
    "h": 302.7
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#684394
secondary
#9CB47F
accent
#CE5A99
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684394

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

Preview Lab → · Contrast checker → · Palette generator →

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