#684286#684286

#684286 is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.3% C 0.114 H 308.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#684286
RGBrgb(104, 66, 134)
HSLhsl(274, 34%, 39%)
HSVhsv(274, 51%, 53%)
CMYKcmyk(22.4%, 50.7%, 0%, 47.5%)
CIE-LABlab(35.12, 30.18, -31.94)
CIE-LCHlch(35.12, 43.95, 313.38°)
OKLaboklab(45.32% 0.0706 -0.0893)
OKLCHoklch(45.32% 0.114 308.3)
XYZxyz(11.9594, 8.5609, 23.5720)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684286 #608642
analogous
#464286 #684286 #864282
triadic
#684286 #866842 #428668
tetradic
#684286 #864642 #608642 #428286
square
#684286 #864642 #608642 #428286
split-complementary
#684286 #828642 #428646
monochromatic
#281A34 #482E5D #684286 #8858AD #A581C1

Accessibility & contrast

On white

7.74
#684286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #684286
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684286#FFFFFF#000000##FFFFFF
##6842861.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#644D5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #684286;
/* rgb */ color: rgb(104, 66, 134);
/* oklch */ color: oklch(45.3% 0.114 308.3);
Tailwind
colors: {
  custom: {
    50: '#9577a9',
    500: '#684286',
    950: '#000000',
  },
}
SCSS
$custom: #684286;
$custom-light: #9577a9;
$custom-dark: #000000;
JSON
{
  "hex": "#684286",
  "rgb": {
    "r": 104,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 273.529,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.11384,
    "h": 308.3
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#684286
secondary
#8FAC78
accent
#CA5E8E
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684286

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

Preview Lab → · Contrast checker → · Palette generator →

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