#684CB8#684CB8

#684CB8 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.163 H 291.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#684CB8
RGBrgb(104, 76, 184)
HSLhsl(256, 43%, 51%)
HSVhsv(256, 59%, 72%)
CMYKcmyk(43.5%, 58.7%, 0%, 27.8%)
CIE-LABlab(40.53, 37.74, -53.34)
CIE-LCHlch(40.53, 65.35, 305.28°)
OKLaboklab(50.32% 0.0595 -0.152)
OKLCHoklch(50.32% 0.163 291.4)
XYZxyz(16.9427, 11.5721, 46.6791)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB8 #9CB84C
analogous
#4C66B8 #684CB8 #9E4CB8
triadic
#684CB8 #B8684C #4CB868
tetradic
#684CB8 #B84C66 #9CB84C #4CB89E
square
#684CB8 #B84C66 #9CB84C #4CB89E
split-complementary
#684CB8 #B89E4C #66B84C
monochromatic
#362763 #4F388E #684CB8 #8D78C9 #B2A4DB

Accessibility & contrast

On white

6.34
#684CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#684CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB8#FFFFFF#000000##FFFFFF
##684CB81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#0C5DB6
Tritanopia (blue-blind)
#51647A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684cb8;
/* rgb */ color: rgb(104, 76, 184);
/* oklch */ color: oklch(50.3% 0.163 291.4);
Tailwind
colors: {
  custom: {
    50: '#997fce',
    500: '#684cb8',
    950: '#000000',
  },
}
SCSS
$custom: #684cb8;
$custom-light: #997fce;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb8",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 255.556,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.16326,
    "h": 291.4
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#684CB8
secondary
#BBC898
accent
#D355B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #684CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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