#684CB0#684CB0

#684CB0 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.153 H 292.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#684CB0
RGBrgb(104, 76, 176)
HSLhsl(257, 40%, 49%)
HSVhsv(257, 57%, 69%)
CMYKcmyk(40.9%, 56.8%, 0%, 31%)
CIE-LABlab(39.99, 35.47, -49.50)
CIE-LCHlch(39.99, 60.89, 305.62°)
OKLaboklab(49.75% 0.0595 -0.1407)
OKLCHoklch(49.75% 0.153 292.9)
XYZxyz(16.1277, 11.2461, 42.3869)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB0 #94B04C
analogous
#4C62B0 #684CB0 #9A4CB0
triadic
#684CB0 #B0684C #4CB068
tetradic
#684CB0 #B04C62 #94B04C #4CB09A
square
#684CB0 #B04C62 #94B04C #4CB09A
split-complementary
#684CB0 #B09A4C #62B04C
monochromatic
#35275B #4F3A85 #684CB0 #8B76C4 #AFA0D6

Accessibility & contrast

On white

6.46
#684CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#684CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB0#FFFFFF#000000##FFFFFF
##684CB01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B3
Deuteranopia (green-blind)
#205CAE
Tritanopia (blue-blind)
#556176
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684cb0;
/* rgb */ color: rgb(104, 76, 176);
/* oklch */ color: oklch(49.8% 0.153 292.9);
Tailwind
colors: {
  custom: {
    50: '#987fc8',
    500: '#684cb0',
    950: '#000000',
  },
}
SCSS
$custom: #684cb0;
$custom-light: #987fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb0",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 256.8,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.15279,
    "h": 292.9
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#684CB0
secondary
#B6C395
accent
#D058AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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