#684FB5#684FB5

#684FB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.155 H 291.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#684FB5
RGBrgb(104, 79, 181)
HSLhsl(255, 41%, 51%)
HSVhsv(255, 56%, 71%)
CMYKcmyk(42.5%, 56.4%, 0%, 29%)
CIE-LABlab(41.01, 35.11, -50.80)
CIE-LCHlch(41.01, 61.76, 304.65°)
OKLaboklab(50.61% 0.0559 -0.1446)
OKLCHoklch(50.61% 0.155 291.1)
XYZxyz(16.8431, 11.8707, 45.1109)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB5 #9CB54F
analogous
#4F69B5 #684FB5 #9B4FB5
triadic
#684FB5 #B5684F #4FB568
tetradic
#684FB5 #B54F69 #9CB54F #4FB59B
square
#684FB5 #B54F69 #9CB54F #4FB59B
split-complementary
#684FB5 #B59B4F #69B54F
monochromatic
#362961 #4F3B8C #684FB5 #8D7AC7 #B2A5D9

Accessibility & contrast

On white

6.22
#684FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684FB5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB5#FFFFFF#000000##FFFFFF
##684FB51.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B8
Deuteranopia (green-blind)
#1E5FB3
Tritanopia (blue-blind)
#52657A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684fb5;
/* rgb */ color: rgb(104, 79, 181);
/* oklch */ color: oklch(50.6% 0.155 291.1);
Tailwind
colors: {
  custom: {
    50: '#9881cc',
    500: '#684fb5',
    950: '#000000',
  },
}
SCSS
$custom: #684fb5;
$custom-light: #9881cc;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb5",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 254.706,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.15499,
    "h": 291.1
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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