#684CB5#684CB5

#684CB5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.159 H 291.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#684CB5
RGBrgb(104, 76, 181)
HSLhsl(256, 42%, 50%)
HSVhsv(256, 58%, 71%)
CMYKcmyk(42.5%, 58%, 0%, 29%)
CIE-LABlab(40.32, 36.89, -51.91)
CIE-LCHlch(40.32, 63.68, 305.40°)
OKLaboklab(50.1% 0.0595 -0.1478)
OKLCHoklch(50.1% 0.159 291.9)
XYZxyz(16.6316, 11.4476, 45.0404)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB5 #99B54C
analogous
#4C64B5 #684CB5 #9C4CB5
triadic
#684CB5 #B5684C #4CB568
tetradic
#684CB5 #B54C64 #99B54C #4CB59C
square
#684CB5 #B54C64 #99B54C #4CB59C
split-complementary
#684CB5 #B59C4C #64B54C
monochromatic
#36275F #4F398B #684CB5 #8D77C7 #B1A3D9

Accessibility & contrast

On white

6.38
#684CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#684CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB5#FFFFFF#000000##FFFFFF
##684CB51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0861B8
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#536379
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684cb5;
/* rgb */ color: rgb(104, 76, 181);
/* oklch */ color: oklch(50.1% 0.159 291.9);
Tailwind
colors: {
  custom: {
    50: '#987fcc',
    500: '#684cb5',
    950: '#000000',
  },
}
SCSS
$custom: #684cb5;
$custom-light: #987fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb5",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 256,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.15935,
    "h": 291.9
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#684CB5
secondary
#B9C697
accent
#D156B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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