#684497#684497

#684497 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.7% C 0.132 H 301.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#684497
RGBrgb(104, 68, 151)
HSLhsl(266, 38%, 43%)
HSVhsv(266, 55%, 59%)
CMYKcmyk(31.1%, 55%, 0%, 40.8%)
CIE-LABlab(36.58, 33.35, -40.02)
CIE-LCHlch(36.58, 52.09, 309.81°)
OKLaboklab(46.72% 0.0692 -0.1129)
OKLCHoklch(46.72% 0.132 301.5)
XYZxyz(13.3607, 9.3116, 30.3656)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684497 #739744
analogous
#444997 #684497 #914497
triadic
#684497 #976844 #449768
tetradic
#684497 #974449 #739744 #449791
square
#684497 #974449 #739744 #449791
split-complementary
#684497 #979144 #499744
monochromatic
#2E1E43 #4B316D #684497 #8661B8 #A68BCB

Accessibility & contrast

On white

7.34
#684497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#684497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684497
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684497#FFFFFF#000000##FFFFFF
##6844971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#5F5467
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #684497;
/* rgb */ color: rgb(104, 68, 151);
/* oklch */ color: oklch(46.7% 0.132 301.5);
Tailwind
colors: {
  custom: {
    50: '#9679b6',
    500: '#684497',
    950: '#000000',
  },
}
SCSS
$custom: #684497;
$custom-light: #9679b6;
$custom-dark: #000000;
JSON
{
  "hex": "#684497",
  "rgb": {
    "r": 104,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 266.024,
    "s": 37.9,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4672,
    "c": 0.13241,
    "h": 301.5
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#684497
secondary
#9FB681
accent
#CE5A9C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #684497

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

Preview Lab → · Contrast checker → · Palette generator →

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