#684FB7#684FB7

#684FB7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.158 H 290.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#684FB7
RGBrgb(104, 79, 183)
HSLhsl(254, 42%, 51%)
HSVhsv(254, 57%, 72%)
CMYKcmyk(43.2%, 56.8%, 0%, 28.2%)
CIE-LABlab(41.14, 35.69, -51.77)
CIE-LCHlch(41.14, 62.88, 304.58°)
OKLaboklab(50.75% 0.0559 -0.1474)
OKLCHoklch(50.75% 0.158 290.8)
XYZxyz(17.0498, 11.9534, 46.1995)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FB7 #9EB74F
analogous
#4F6AB7 #684FB7 #9C4FB7
triadic
#684FB7 #B7684F #4FB768
tetradic
#684FB7 #B74F6A #9EB74F #4FB79C
square
#684FB7 #B74F6A #9EB74F #4FB79C
split-complementary
#684FB7 #B79C4F #6AB74F
monochromatic
#372963 #4F3A8F #684FB7 #8D7AC9 #B3A6DB

Accessibility & contrast

On white

6.19
#684FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#684FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FB7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FB7#FFFFFF#000000##FFFFFF
##684FB71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BA
Deuteranopia (green-blind)
#1A5FB5
Tritanopia (blue-blind)
#51667B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684fb7;
/* rgb */ color: rgb(104, 79, 183);
/* oklch */ color: oklch(50.7% 0.158 290.8);
Tailwind
colors: {
  custom: {
    50: '#9881cd',
    500: '#684fb7',
    950: '#000000',
  },
}
SCSS
$custom: #684fb7;
$custom-light: #9881cd;
$custom-dark: #000000;
JSON
{
  "hex": "#684fb7",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 254.423,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.15764,
    "h": 290.8
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#684FB7
secondary
#BDC89A
accent
#D256B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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