#684792#684792

#684792 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 46.9% C 0.121 H 302.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#684792
RGBrgb(104, 71, 146)
HSLhsl(266, 35%, 43%)
HSVhsv(266, 51%, 57%)
CMYKcmyk(28.8%, 51.4%, 0%, 42.7%)
CIE-LABlab(36.98, 30.25, -36.35)
CIE-LCHlch(36.98, 47.29, 309.77°)
OKLaboklab(46.92% 0.0646 -0.1022)
OKLCHoklch(46.92% 0.121 302.3)
XYZxyz(13.1493, 9.5248, 28.3343)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684792 #719247
analogous
#474C92 #684792 #8D4792
triadic
#684792 #926847 #479268
tetradic
#684792 #92474C #719247 #47928D
square
#684792 #92474C #719247 #47928D
split-complementary
#684792 #928D47 #4C9247
monochromatic
#2D1F40 #4B3369 #684792 #8663B3 #A68CC7

Accessibility & contrast

On white

7.23
#684792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#684792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #684792
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684792#FFFFFF#000000##FFFFFF
##6847921.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#385790
Tritanopia (blue-blind)
#605566
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #684792;
/* rgb */ color: rgb(104, 71, 146);
/* oklch */ color: oklch(46.9% 0.121 302.3);
Tailwind
colors: {
  custom: {
    50: '#957bb2',
    500: '#684792',
    950: '#000000',
  },
}
SCSS
$custom: #684792;
$custom-light: #957bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#684792",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 266.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.12089,
    "h": 302.3
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#684792
secondary
#9DB382
accent
#CB5D9A
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #684792

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

Preview Lab → · Contrast checker → · Palette generator →

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