#684CB7#684CB7

#684CB7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.162 H 291.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#684CB7
RGBrgb(104, 76, 183)
HSLhsl(256, 43%, 51%)
HSVhsv(256, 58%, 72%)
CMYKcmyk(43.2%, 58.5%, 0%, 28.2%)
CIE-LABlab(40.46, 37.46, -52.87)
CIE-LCHlch(40.46, 64.79, 305.32°)
OKLaboklab(50.24% 0.0595 -0.1506)
OKLCHoklch(50.24% 0.162 291.5)
XYZxyz(16.8383, 11.5303, 46.1290)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB7 #9BB74C
analogous
#4C65B7 #684CB7 #9D4CB7
triadic
#684CB7 #B7684C #4CB768
tetradic
#684CB7 #B74C65 #9BB74C #4CB79D
square
#684CB7 #B74C65 #9BB74C #4CB79D
split-complementary
#684CB7 #B79D4C #65B74C
monochromatic
#362761 #4F398D #684CB7 #8D78C9 #B2A3DA

Accessibility & contrast

On white

6.35
#684CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#684CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB7#FFFFFF#000000##FFFFFF
##684CB71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#105DB5
Tritanopia (blue-blind)
#52647A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684cb7;
/* rgb */ color: rgb(104, 76, 183);
/* oklch */ color: oklch(50.2% 0.162 291.5);
Tailwind
colors: {
  custom: {
    50: '#987fcd',
    500: '#684cb7',
    950: '#000000',
  },
}
SCSS
$custom: #684cb7;
$custom-light: #987fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb7",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 255.701,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.16195,
    "h": 291.5
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#684CB7
secondary
#BBC798
accent
#D255B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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