#684BB2#684BB2

#684BB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.157 H 292.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#684BB2
RGBrgb(104, 75, 178)
HSLhsl(257, 41%, 50%)
HSVhsv(257, 58%, 70%)
CMYKcmyk(41.6%, 57.9%, 0%, 30.2%)
CIE-LABlab(39.90, 36.62, -50.83)
CIE-LCHlch(39.90, 62.65, 305.77°)
OKLaboklab(49.72% 0.0607 -0.1446)
OKLCHoklch(49.72% 0.157 292.8)
XYZxyz(16.2587, 11.1891, 43.4139)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BB2 #95B24B
analogous
#4B62B2 #684BB2 #9B4BB2
triadic
#684BB2 #B2684B #4BB268
tetradic
#684BB2 #B24B62 #95B24B #4BB29B
square
#684BB2 #B24B62 #95B24B #4BB29B
split-complementary
#684BB2 #B29B4B #62B24B
monochromatic
#36275C #4F3987 #684BB2 #8C75C5 #B0A0D7

Accessibility & contrast

On white

6.49
#684BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#684BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BB2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BB2#FFFFFF#000000##FFFFFF
##684BB21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB5
Deuteranopia (green-blind)
#195CB0
Tritanopia (blue-blind)
#546177
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684bb2;
/* rgb */ color: rgb(104, 75, 178);
/* oklch */ color: oklch(49.7% 0.157 292.8);
Tailwind
colors: {
  custom: {
    50: '#987eca',
    500: '#684bb2',
    950: '#000000',
  },
}
SCSS
$custom: #684bb2;
$custom-light: #987eca;
$custom-dark: #000000;
JSON
{
  "hex": "#684bb2",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 256.893,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.15688,
    "h": 292.8
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#684BB2
secondary
#B7C495
accent
#D157AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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