#684DB8#684DB8

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

Color values

HEX#684DB8
RGBrgb(104, 77, 184)
HSLhsl(255, 43%, 51%)
HSVhsv(255, 58%, 72%)
CMYKcmyk(43.5%, 58.2%, 0%, 27.8%)
CIE-LABlab(40.75, 37.15, -52.98)
CIE-LCHlch(40.75, 64.71, 305.04°)
OKLaboklab(50.48% 0.0583 -0.151)
OKLCHoklch(50.48% 0.162 291.1)
XYZxyz(17.0121, 11.7110, 46.7022)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DB8 #9DB84D
analogous
#4D67B8 #684DB8 #9D4DB8
triadic
#684DB8 #B8684D #4DB868
tetradic
#684DB8 #B84D67 #9DB84D #4DB89D
square
#684DB8 #B84D67 #9DB84D #4DB89D
split-complementary
#684DB8 #B89D4D #67B84D
monochromatic
#372863 #4F398F #684DB8 #8D79C9 #B2A4DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684DB8#FFFFFF#000000##FFFFFF
##684DB81.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)
#0362BC
Deuteranopia (green-blind)
#115EB6
Tritanopia (blue-blind)
#51657B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684db8;
/* rgb */ color: rgb(104, 77, 184);
/* oklch */ color: oklch(50.5% 0.162 291.1);
Tailwind
colors: {
  custom: {
    50: '#9880ce',
    500: '#684db8',
    950: '#000000',
  },
}
SCSS
$custom: #684db8;
$custom-light: #9880ce;
$custom-dark: #000000;
JSON
{
  "hex": "#684db8",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 255.14,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.16183,
    "h": 291.1
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#684DB8
secondary
#BCC899
accent
#D355B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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