#684697#684697

#684697 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.1% C 0.129 H 300.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#684697
RGBrgb(104, 70, 151)
HSLhsl(265, 37%, 43%)
HSVhsv(265, 54%, 59%)
CMYKcmyk(31.1%, 53.6%, 0%, 40.8%)
CIE-LABlab(37.04, 32.17, -39.28)
CIE-LCHlch(37.04, 50.77, 309.31°)
OKLaboklab(47.06% 0.0664 -0.1108)
OKLCHoklch(47.06% 0.129 300.9)
XYZxyz(13.4837, 9.5577, 30.4066)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684697 #759746
analogous
#464C97 #684697 #904697
triadic
#684697 #976846 #469768
tetradic
#684697 #97464C #759746 #469790
square
#684697 #97464C #759746 #469790
split-complementary
#684697 #979046 #4C9746
monochromatic
#2E1F43 #4B336D #684697 #8663B7 #A78DCA

Accessibility & contrast

On white

7.21
#684697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#684697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684697
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684697#FFFFFF#000000##FFFFFF
##6846971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#5F5568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #684697;
/* rgb */ color: rgb(104, 70, 151);
/* oklch */ color: oklch(47.1% 0.129 300.9);
Tailwind
colors: {
  custom: {
    50: '#967ab6',
    500: '#684697',
    950: '#000000',
  },
}
SCSS
$custom: #684697;
$custom-light: #967ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#684697",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 265.185,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.12915,
    "h": 300.9
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#684697
secondary
#A0B683
accent
#CD5B9D
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684697

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

Preview Lab → · Contrast checker → · Palette generator →

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