#684DB2#684DB2

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

Color values

HEX#684DB2
RGBrgb(104, 77, 178)
HSLhsl(256, 40%, 50%)
HSVhsv(256, 57%, 70%)
CMYKcmyk(41.6%, 56.7%, 0%, 30.2%)
CIE-LABlab(40.35, 35.44, -50.10)
CIE-LCHlch(40.35, 61.37, 305.28°)
OKLaboklab(50.06% 0.0583 -0.1425)
OKLCHoklch(50.06% 0.154 292.2)
XYZxyz(16.3965, 11.4647, 43.4599)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DB2 #97B24D
analogous
#4D64B2 #684DB2 #9B4DB2
triadic
#684DB2 #B2684D #4DB268
tetradic
#684DB2 #B24D64 #97B24D #4DB29B
square
#684DB2 #B24D64 #97B24D #4DB29B
split-complementary
#684DB2 #B29B4D #64B24D
monochromatic
#36285D #4F3B87 #684DB2 #8C78C4 #B0A2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684DB2#FFFFFF#000000##FFFFFF
##684DB21.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)
#1661B5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#546378
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684db2;
/* rgb */ color: rgb(104, 77, 178);
/* oklch */ color: oklch(50.1% 0.154 292.2);
Tailwind
colors: {
  custom: {
    50: '#9880ca',
    500: '#684db2',
    950: '#000000',
  },
}
SCSS
$custom: #684db2;
$custom-light: #9880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#684db2",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 256.04,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.15396,
    "h": 292.2
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#684DB2
secondary
#B8C497
accent
#CF58B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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