#684CB2#684CB2

#684CB2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.155 H 292.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#684CB2
RGBrgb(104, 76, 178)
HSLhsl(256, 40%, 50%)
HSVhsv(256, 57%, 70%)
CMYKcmyk(41.6%, 57.3%, 0%, 30.2%)
CIE-LABlab(40.12, 36.03, -50.46)
CIE-LCHlch(40.12, 62.01, 305.53°)
OKLaboklab(49.89% 0.0595 -0.1436)
OKLCHoklch(49.89% 0.155 292.5)
XYZxyz(16.3271, 11.3258, 43.4367)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CB2 #96B24C
analogous
#4C63B2 #684CB2 #9B4CB2
triadic
#684CB2 #B2684C #4CB268
tetradic
#684CB2 #B24C63 #96B24C #4CB29B
square
#684CB2 #B24C63 #96B24C #4CB29B
split-complementary
#684CB2 #B29B4C #63B24C
monochromatic
#36275C #4F3A87 #684CB2 #8C76C5 #B0A1D7

Accessibility & contrast

On white

6.43
#684CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#684CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CB2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CB2#FFFFFF#000000##FFFFFF
##684CB21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#546277
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684cb2;
/* rgb */ color: rgb(104, 76, 178);
/* oklch */ color: oklch(49.9% 0.155 292.5);
Tailwind
colors: {
  custom: {
    50: '#987fca',
    500: '#684cb2',
    950: '#000000',
  },
}
SCSS
$custom: #684cb2;
$custom-light: #987fca;
$custom-dark: #000000;
JSON
{
  "hex": "#684cb2",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 256.471,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.15542,
    "h": 292.5
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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