#684189#684189

#684189 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.3% C 0.119 H 307.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#684189
RGBrgb(104, 65, 137)
HSLhsl(273, 36%, 40%)
HSVhsv(273, 53%, 54%)
CMYKcmyk(24.1%, 52.6%, 0%, 46.3%)
CIE-LABlab(35.06, 31.52, -33.89)
CIE-LCHlch(35.06, 46.28, 312.93°)
OKLaboklab(45.33% 0.0724 -0.095)
OKLCHoklch(45.33% 0.119 307.3)
XYZxyz(12.1137, 8.5299, 24.6703)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684189 #628941
analogous
#444189 #684189 #894186
triadic
#684189 #896841 #418968
tetradic
#684189 #894441 #628941 #418689
square
#684189 #894441 #628941 #418689
split-complementary
#684189 #868941 #418944
monochromatic
#291A36 #482D5F #684189 #8758B0 #A581C3

Accessibility & contrast

On white

7.76
#684189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#684189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684189
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684189#FFFFFF#000000##FFFFFF
##6841891.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518B
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#634E5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684189;
/* rgb */ color: rgb(104, 65, 137);
/* oklch */ color: oklch(45.3% 0.119 307.3);
Tailwind
colors: {
  custom: {
    50: '#9577ac',
    500: '#684189',
    950: '#000000',
  },
}
SCSS
$custom: #684189;
$custom-light: #9577ac;
$custom-dark: #000000;
JSON
{
  "hex": "#684189",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 272.5,
    "s": 35.644,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45331,
    "c": 0.1194,
    "h": 307.3
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#684189
secondary
#91AE78
accent
#CC5C8F
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684189

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

Preview Lab → · Contrast checker → · Palette generator →

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