#684783#684783

#684783 is a mid, moderate violet. Relative luminance 0.091; OKLCH L 46.0% C 0.101 H 308.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#684783
RGBrgb(104, 71, 131)
HSLhsl(273, 30%, 40%)
HSVhsv(273, 46%, 51%)
CMYKcmyk(20.6%, 45.8%, 0%, 48.6%)
CIE-LABlab(36.15, 26.44, -28.47)
CIE-LCHlch(36.15, 38.85, 312.87°)
OKLaboklab(46.04% 0.0625 -0.0793)
OKLCHoklch(46.04% 0.101 308.3)
XYZxyz(12.0581, 9.0884, 22.5873)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684783 #628347
analogous
#4A4783 #684783 #834780
triadic
#684783 #836847 #478368
tetradic
#684783 #834A47 #628347 #478083
square
#684783 #834A47 #628347 #478083
split-complementary
#684783 #808347 #47834A
monochromatic
#291C34 #48315B #684783 #875FA8 #A587BE

Accessibility & contrast

On white

7.45
#684783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#684783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684783
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684783#FFFFFF#000000##FFFFFF
##6847831.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395485
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#64515F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #684783;
/* rgb */ color: rgb(104, 71, 131);
/* oklch */ color: oklch(46.0% 0.101 308.3);
Tailwind
colors: {
  custom: {
    50: '#947ba7',
    500: '#684783',
    950: '#000000',
  },
}
SCSS
$custom: #684783;
$custom-light: #947ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#684783",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 273,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.10096,
    "h": 308.3
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#684783
secondary
#91A97C
accent
#C6628F
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D090F
muted
#7E7B7F

Preview Lab

Preview with #684783

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

Preview Lab → · Contrast checker → · Palette generator →

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