#684FAE#684FAE

#684FAE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.146 H 292.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#684FAE
RGBrgb(104, 79, 174)
HSLhsl(256, 38%, 50%)
HSVhsv(256, 55%, 68%)
CMYKcmyk(40.2%, 54.6%, 0%, 31.8%)
CIE-LABlab(40.56, 33.11, -47.40)
CIE-LCHlch(40.56, 57.82, 304.93°)
OKLaboklab(50.13% 0.0557 -0.1346)
OKLCHoklch(50.13% 0.146 292.5)
XYZxyz(16.1428, 11.5906, 41.4229)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FAE #95AE4F
analogous
#4F66AE #684FAE #974FAE
triadic
#684FAE #AE684F #4FAE68
tetradic
#684FAE #AE4F66 #95AE4F #4FAE97
square
#684FAE #AE4F66 #95AE4F #4FAE97
split-complementary
#684FAE #AE974F #66AE4F
monochromatic
#36295A #4F3C84 #684FAE #8C78C2 #B0A2D5

Accessibility & contrast

On white

6.33
#684FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#684FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FAE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FAE#FFFFFF#000000##FFFFFF
##684FAE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#566377
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684fae;
/* rgb */ color: rgb(104, 79, 174);
/* oklch */ color: oklch(50.1% 0.146 292.5);
Tailwind
colors: {
  custom: {
    50: '#9781c7',
    500: '#684fae',
    950: '#000000',
  },
}
SCSS
$custom: #684fae;
$custom-light: #9781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#684fae",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 255.789,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.14565,
    "h": 292.5
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#684FAE
secondary
#B7C297
accent
#CE5AAF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FAE

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

Preview Lab → · Contrast checker → · Palette generator →

#684FAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva