#684DB7#684DB7

#684DB7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.161 H 291.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#684DB7
RGBrgb(104, 77, 183)
HSLhsl(255, 42%, 51%)
HSVhsv(255, 58%, 72%)
CMYKcmyk(43.2%, 57.9%, 0%, 28.2%)
CIE-LABlab(40.69, 36.87, -52.50)
CIE-LCHlch(40.69, 64.15, 305.08°)
OKLaboklab(50.41% 0.0583 -0.1496)
OKLCHoklch(50.41% 0.161 291.3)
XYZxyz(16.9077, 11.6692, 46.1521)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DB7 #9CB74D
analogous
#4D67B7 #684DB7 #9D4DB7
triadic
#684DB7 #B7684D #4DB768
tetradic
#684DB7 #B74D67 #9CB74D #4DB79D
square
#684DB7 #B74D67 #9CB74D #4DB79D
split-complementary
#684DB7 #B79D4D #67B74D
monochromatic
#362862 #4F398E #684DB7 #8D79C9 #B2A4DA

Accessibility & contrast

On white

6.30
#684DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#684DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DB7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DB7#FFFFFF#000000##FFFFFF
##684DB71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BB
Deuteranopia (green-blind)
#145EB5
Tritanopia (blue-blind)
#52647A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684db7;
/* rgb */ color: rgb(104, 77, 183);
/* oklch */ color: oklch(50.4% 0.161 291.3);
Tailwind
colors: {
  custom: {
    50: '#9880cd',
    500: '#684db7',
    950: '#000000',
  },
}
SCSS
$custom: #684db7;
$custom-light: #9880cd;
$custom-dark: #000000;
JSON
{
  "hex": "#684db7",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 255.283,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.16052,
    "h": 291.3
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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