#684EB7#684EB7

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

Color values

HEX#684EB7
RGBrgb(104, 78, 183)
HSLhsl(255, 42%, 51%)
HSVhsv(255, 57%, 72%)
CMYKcmyk(43.2%, 57.4%, 0%, 28.2%)
CIE-LABlab(40.91, 36.28, -52.14)
CIE-LCHlch(40.91, 63.52, 304.83°)
OKLaboklab(50.58% 0.0571 -0.1485)
OKLCHoklch(50.58% 0.159 291)
XYZxyz(16.9782, 11.8102, 46.1756)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684EB7 #9DB74E
analogous
#4E68B7 #684EB7 #9C4EB7
triadic
#684EB7 #B7684E #4EB768
tetradic
#684EB7 #B74E68 #9DB74E #4EB79C
square
#684EB7 #B74E68 #9DB74E #4EB79C
split-complementary
#684EB7 #B79C4E #68B74E
monochromatic
#372863 #4F3A8E #684EB7 #8D7AC9 #B2A5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684EB7#FFFFFF#000000##FFFFFF
##684EB71.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)
#0E62BA
Deuteranopia (green-blind)
#175EB5
Tritanopia (blue-blind)
#51657B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684eb7;
/* rgb */ color: rgb(104, 78, 183);
/* oklch */ color: oklch(50.6% 0.159 291.0);
Tailwind
colors: {
  custom: {
    50: '#9880cd',
    500: '#684eb7',
    950: '#000000',
  },
}
SCSS
$custom: #684eb7;
$custom-light: #9880cd;
$custom-dark: #000000;
JSON
{
  "hex": "#684eb7",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 254.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.15909,
    "h": 291
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#684EB7
secondary
#BCC899
accent
#D256B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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