#684FB4#684FB4

#684FB4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.154 H 291.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#684FB4
RGBrgb(104, 79, 180)
HSLhsl(255, 40%, 51%)
HSVhsv(255, 56%, 71%)
CMYKcmyk(42.2%, 56.1%, 0%, 29.4%)
CIE-LABlab(40.94, 34.82, -50.32)
CIE-LCHlch(40.94, 61.20, 304.68°)
OKLaboklab(50.54% 0.0559 -0.1432)
OKLCHoklch(50.54% 0.154 291.3)
XYZxyz(16.7409, 11.8298, 44.5725)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB4 #9BB44F
analogous
#4F68B4 #684FB4 #9A4FB4
triadic
#684FB4 #B4684F #4FB468
tetradic
#684FB4 #B44F68 #9BB44F #4FB49A
square
#684FB4 #B44F68 #9BB44F #4FB49A
split-complementary
#684FB4 #B49A4F #68B44F
monochromatic
#362960 #4F3B8B #684FB4 #8D7AC6 #B2A5D9

Accessibility & contrast

On white

6.24
#684FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#684FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FB4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB4#FFFFFF#000000##FFFFFF
##684FB41.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B7
Deuteranopia (green-blind)
#205EB2
Tritanopia (blue-blind)
#53657A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684fb4;
/* rgb */ color: rgb(104, 79, 180);
/* oklch */ color: oklch(50.5% 0.154 291.3);
Tailwind
colors: {
  custom: {
    50: '#9881cb',
    500: '#684fb4',
    950: '#000000',
  },
}
SCSS
$custom: #684fb4;
$custom-light: #9881cb;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb4",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 254.851,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.15367,
    "h": 291.3
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#684FB4
secondary
#BBC699
accent
#D058B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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