#684186#684186

#684186 is a mid, moderate violet. Relative luminance 0.084; OKLCH L 45.1% C 0.116 H 308.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#684186
RGBrgb(104, 65, 134)
HSLhsl(274, 35%, 39%)
HSVhsv(274, 51%, 53%)
CMYKcmyk(22.4%, 51.5%, 0%, 47.5%)
CIE-LABlab(34.89, 30.78, -32.31)
CIE-LCHlch(34.89, 44.62, 313.61°)
OKLaboklab(45.15% 0.072 -0.0904)
OKLCHoklch(45.15% 0.116 308.6)
XYZxyz(11.9015, 8.4450, 23.5527)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684186 #5F8641
analogous
#464186 #684186 #864182
triadic
#684186 #866841 #418668
tetradic
#684186 #864641 #5F8641 #418286
square
#684186 #864641 #5F8641 #418286
split-complementary
#684186 #828641 #418646
monochromatic
#281934 #482D5D #684186 #8857AD #A580C1

Accessibility & contrast

On white

7.81
#684186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#684186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684186
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684186#FFFFFF#000000##FFFFFF
##6841861.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5088
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#644D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #684186;
/* rgb */ color: rgb(104, 65, 134);
/* oklch */ color: oklch(45.1% 0.116 308.6);
Tailwind
colors: {
  custom: {
    50: '#9577a9',
    500: '#684186',
    950: '#000000',
  },
}
SCSS
$custom: #684186;
$custom-light: #9577a9;
$custom-dark: #000000;
JSON
{
  "hex": "#684186",
  "rgb": {
    "r": 104,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 273.913,
    "s": 34.673,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.11559,
    "h": 308.6
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#684186
secondary
#8EAC77
accent
#CB5D8D
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #684186

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

Preview Lab → · Contrast checker → · Palette generator →

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