#684686#684686

#684686 is a mid, moderate violet. Relative luminance 0.090; OKLCH L 46.0% C 0.107 H 307.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#684686
RGBrgb(104, 70, 134)
HSLhsl(272, 31%, 40%)
HSVhsv(272, 48%, 53%)
CMYKcmyk(22.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(36.07, 27.79, -30.45)
CIE-LCHlch(36.07, 41.22, 312.38°)
OKLaboklab(46.03% 0.0645 -0.085)
OKLCHoklch(46.03% 0.107 307.2)
XYZxyz(12.2013, 9.0447, 23.6527)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684686 #648646
analogous
#484686 #684686 #864684
triadic
#684686 #866846 #468668
tetradic
#684686 #864846 #648646 #468486
square
#684686 #864846 #648646 #468486
split-complementary
#684686 #848646 #468648
monochromatic
#2A1C36 #49315E #684686 #875EAB #A586C0

Accessibility & contrast

On white

7.48
#684686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#684686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684686
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684686#FFFFFF#000000##FFFFFF
##6846861.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365488
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#64515F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #684686;
/* rgb */ color: rgb(104, 70, 134);
/* oklch */ color: oklch(46.0% 0.107 307.2);
Tailwind
colors: {
  custom: {
    50: '#957aa9',
    500: '#684686',
    950: '#000000',
  },
}
SCSS
$custom: #684686;
$custom-light: #957aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#684686",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 271.875,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.10673,
    "h": 307.2
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#684686
secondary
#92AB7C
accent
#C86091
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684686

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

Preview Lab → · Contrast checker → · Palette generator →

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