#684FB3#684FB3

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

Color values

HEX#684FB3
RGBrgb(104, 79, 179)
HSLhsl(255, 40%, 51%)
HSVhsv(255, 56%, 70%)
CMYKcmyk(41.9%, 55.9%, 0%, 29.8%)
CIE-LABlab(40.88, 34.54, -49.84)
CIE-LCHlch(40.88, 60.64, 304.72°)
OKLaboklab(50.47% 0.0558 -0.1417)
OKLCHoklch(50.47% 0.152 291.5)
XYZxyz(16.6394, 11.7892, 44.0379)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB3 #9AB34F
analogous
#4F68B3 #684FB3 #9A4FB3
triadic
#684FB3 #B3684F #4FB368
tetradic
#684FB3 #B34F68 #9AB34F #4FB39A
square
#684FB3 #B34F68 #9AB34F #4FB39A
split-complementary
#684FB3 #B39A4F #68B34F
monochromatic
#36295F #4F3B89 #684FB3 #8D7AC5 #B1A4D8

Accessibility & contrast

On white

6.25
#684FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#684FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FB3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB3#FFFFFF#000000##FFFFFF
##684FB31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#215EB1
Tritanopia (blue-blind)
#536479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684fb3;
/* rgb */ color: rgb(104, 79, 179);
/* oklch */ color: oklch(50.5% 0.152 291.5);
Tailwind
colors: {
  custom: {
    50: '#9881ca',
    500: '#684fb3',
    950: '#000000',
  },
}
SCSS
$custom: #684fb3;
$custom-light: #9881ca;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb3",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 255,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.15233,
    "h": 291.5
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#684FB3
secondary
#BAC599
accent
#D058B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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