#684BD1#684BD1

#684BD1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.196 H 287.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#684BD1
RGBrgb(104, 75, 209)
HSLhsl(253, 59%, 56%)
HSVhsv(253, 64%, 82%)
CMYKcmyk(50.2%, 64.1%, 0%, 18%)
CIE-LABlab(42.12, 45.53, -65.29)
CIE-LCHlch(42.12, 79.60, 304.89°)
OKLaboklab(52.05% 0.059 -0.1872)
OKLCHoklch(52.05% 0.196 287.5)
XYZxyz(19.7302, 12.5777, 61.6974)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BD1 #B4D14B
analogous
#4B71D1 #684BD1 #AB4BD1
triadic
#684BD1 #D1684B #4BD168
tetradic
#684BD1 #D14B71 #B4D14B #4BD1AB
square
#684BD1 #D14B71 #B4D14B #4BD1AB
split-complementary
#684BD1 #D1AB4B #71D14B
monochromatic
#362181 #4A2DB1 #684BD1 #917CDD #BAACEA

Accessibility & contrast

On white

5.97
#684BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#684BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BD1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BD1#FFFFFF#000000##FFFFFF
##684BD11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#426C87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684bd1;
/* rgb */ color: rgb(104, 75, 209);
/* oklch */ color: oklch(52.0% 0.196 287.5);
Tailwind
colors: {
  custom: {
    50: '#9c7fe0',
    500: '#684bd1',
    950: '#000000',
  },
}
SCSS
$custom: #684bd1;
$custom-light: #9c7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#684bd1",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 252.985,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.19625,
    "h": 287.5
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#684BD1
secondary
#CCD8A0
accent
#E245C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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