#684CB1#684CB1

#684CB1 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.154 H 292.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#684CB1
RGBrgb(104, 76, 177)
HSLhsl(257, 40%, 50%)
HSVhsv(257, 57%, 69%)
CMYKcmyk(41.2%, 57.1%, 0%, 30.6%)
CIE-LABlab(40.06, 35.75, -49.98)
CIE-LCHlch(40.06, 61.45, 305.57°)
OKLaboklab(49.82% 0.0595 -0.1422)
OKLCHoklch(49.82% 0.154 292.7)
XYZxyz(16.2270, 11.2858, 42.9099)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB1 #95B14C
analogous
#4C62B1 #684CB1 #9B4CB1
triadic
#684CB1 #B1684C #4CB168
tetradic
#684CB1 #B14C62 #95B14C #4CB19B
square
#684CB1 #B14C62 #95B14C #4CB19B
split-complementary
#684CB1 #B19B4C #62B14C
monochromatic
#36275B #4F3A86 #684CB1 #8C76C4 #B0A1D7

Accessibility & contrast

On white

6.45
#684CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#684CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB1#FFFFFF#000000##FFFFFF
##684CB11.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B4
Deuteranopia (green-blind)
#1E5CAF
Tritanopia (blue-blind)
#546277
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684cb1;
/* rgb */ color: rgb(104, 76, 177);
/* oklch */ color: oklch(49.8% 0.154 292.7);
Tailwind
colors: {
  custom: {
    50: '#987fc9',
    500: '#684cb1',
    950: '#000000',
  },
}
SCSS
$custom: #684cb1;
$custom-light: #987fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb1",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 256.634,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.15411,
    "h": 292.7
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#684CB1
secondary
#B7C395
accent
#D058AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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