#684CB4#684CB4

#684CB4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.158 H 292.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#684CB4
RGBrgb(104, 76, 180)
HSLhsl(256, 41%, 50%)
HSVhsv(256, 58%, 71%)
CMYKcmyk(42.2%, 57.8%, 0%, 29.4%)
CIE-LABlab(40.26, 36.60, -51.43)
CIE-LCHlch(40.26, 63.12, 305.44°)
OKLaboklab(50.03% 0.0595 -0.1464)
OKLCHoklch(50.03% 0.158 292.1)
XYZxyz(16.5293, 11.4067, 44.5020)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB4 #98B44C
analogous
#4C64B4 #684CB4 #9C4CB4
triadic
#684CB4 #B4684C #4CB468
tetradic
#684CB4 #B44C64 #98B44C #4CB49C
square
#684CB4 #B44C64 #98B44C #4CB49C
split-complementary
#684CB4 #B49C4C #64B44C
monochromatic
#36275E #4F3A89 #684CB4 #8C77C6 #B1A2D8

Accessibility & contrast

On white

6.40
#684CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#684CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB4#FFFFFF#000000##FFFFFF
##684CB41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C60B7
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#536378
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684cb4;
/* rgb */ color: rgb(104, 76, 180);
/* oklch */ color: oklch(50.0% 0.158 292.1);
Tailwind
colors: {
  custom: {
    50: '#987fcb',
    500: '#684cb4',
    950: '#000000',
  },
}
SCSS
$custom: #684cb4;
$custom-light: #987fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb4",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 256.154,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.15804,
    "h": 292.1
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#684CB4
secondary
#B9C597
accent
#D157B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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