#684FB1#684FB1

#684FB1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.150 H 291.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#684FB1
RGBrgb(104, 79, 177)
HSLhsl(255, 39%, 50%)
HSVhsv(255, 55%, 69%)
CMYKcmyk(41.2%, 55.4%, 0%, 30.6%)
CIE-LABlab(40.75, 33.97, -48.87)
CIE-LCHlch(40.75, 59.51, 304.80°)
OKLaboklab(50.33% 0.0558 -0.1389)
OKLCHoklch(50.33% 0.15 291.9)
XYZxyz(16.4386, 11.7089, 42.9804)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB1 #98B14F
analogous
#4F67B1 #684FB1 #994FB1
triadic
#684FB1 #B1684F #4FB168
tetradic
#684FB1 #B14F67 #98B14F #4FB199
square
#684FB1 #B14F67 #98B14F #4FB199
split-complementary
#684FB1 #B1994F #67B14F
monochromatic
#36295D #4F3C87 #684FB1 #8C79C4 #B1A4D7

Accessibility & contrast

On white

6.28
#684FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#684FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FB1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB1#FFFFFF#000000##FFFFFF
##684FB11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B4
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#546478
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684fb1;
/* rgb */ color: rgb(104, 79, 177);
/* oklch */ color: oklch(50.3% 0.150 291.9);
Tailwind
colors: {
  custom: {
    50: '#9881c9',
    500: '#684fb1',
    950: '#000000',
  },
}
SCSS
$custom: #684fb1;
$custom-light: #9881c9;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb1",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 255.306,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.14967,
    "h": 291.9
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#684FB1
secondary
#B9C498
accent
#CF59B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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