#684197#684197

#684197 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.2% C 0.137 H 302.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#684197
RGBrgb(104, 65, 151)
HSLhsl(267, 40%, 42%)
HSVhsv(267, 57%, 59%)
CMYKcmyk(31.1%, 57%, 0%, 40.8%)
CIE-LABlab(35.90, 35.10, -41.10)
CIE-LCHlch(35.90, 54.05, 310.50°)
OKLaboklab(46.22% 0.0733 -0.1161)
OKLCHoklch(46.22% 0.137 302.3)
XYZxyz(13.1839, 8.9580, 30.3067)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684197 #709741
analogous
#414597 #684197 #934197
triadic
#684197 #976841 #419768
tetradic
#684197 #974145 #709741 #419793
square
#684197 #974145 #709741 #419793
split-complementary
#684197 #979341 #459741
monochromatic
#2D1C41 #4B2F6C #684197 #865CB9 #A687CB

Accessibility & contrast

On white

7.52
#684197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#684197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684197
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684197#FFFFFF#000000##FFFFFF
##6841971.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#2D5495
Tritanopia (blue-blind)
#5F5265
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #684197;
/* rgb */ color: rgb(104, 65, 151);
/* oklch */ color: oklch(46.2% 0.137 302.3);
Tailwind
colors: {
  custom: {
    50: '#9677b6',
    500: '#684197',
    950: '#000000',
  },
}
SCSS
$custom: #684197;
$custom-light: #9677b6;
$custom-dark: #000000;
JSON
{
  "hex": "#684197",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 267.209,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.13726,
    "h": 302.3
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#684197
secondary
#9DB67E
accent
#D05899
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684197

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

Preview Lab → · Contrast checker → · Palette generator →

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