#684BB0#684BB0

#684BB0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.6% C 0.154 H 293.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#684BB0
RGBrgb(104, 75, 176)
HSLhsl(257, 40%, 49%)
HSVhsv(257, 57%, 69%)
CMYKcmyk(40.9%, 57.4%, 0%, 31%)
CIE-LABlab(39.76, 36.06, -49.86)
CIE-LCHlch(39.76, 61.53, 305.87°)
OKLaboklab(49.58% 0.0607 -0.1418)
OKLCHoklch(49.58% 0.154 293.2)
XYZxyz(16.0594, 11.1094, 42.3641)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BB0 #93B04B
analogous
#4B61B0 #684BB0 #9B4BB0
triadic
#684BB0 #B0684B #4BB068
tetradic
#684BB0 #B04B61 #93B04B #4BB09B
square
#684BB0 #B04B61 #93B04B #4BB09B
split-complementary
#684BB0 #B09B4B #61B04B
monochromatic
#35265A #4F3985 #684BB0 #8B74C4 #AF9FD6

Accessibility & contrast

On white

6.52
#684BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#684BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BB0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BB0#FFFFFF#000000##FFFFFF
##684BB01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB3
Deuteranopia (green-blind)
#1D5CAE
Tritanopia (blue-blind)
#556176
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #684bb0;
/* rgb */ color: rgb(104, 75, 176);
/* oklch */ color: oklch(49.6% 0.154 293.2);
Tailwind
colors: {
  custom: {
    50: '#987ec8',
    500: '#684bb0',
    950: '#000000',
  },
}
SCSS
$custom: #684bb0;
$custom-light: #987ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#684bb0",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 257.228,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.15426,
    "h": 293.2
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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