#684BD9#684BD9

#684BD9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.206 H 286.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#684BD9
RGBrgb(104, 75, 217)
HSLhsl(252, 65%, 57%)
HSVhsv(252, 65%, 85%)
CMYKcmyk(52.1%, 65.4%, 0%, 14.9%)
CIE-LABlab(42.74, 47.86, -68.88)
CIE-LCHlch(42.74, 83.87, 304.79°)
OKLaboklab(52.69% 0.0581 -0.1977)
OKLCHoklch(52.69% 0.206 286.4)
XYZxyz(20.7457, 12.9839, 67.0452)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BD9 #BCD94B
analogous
#4B75D9 #684BD9 #AF4BD9
triadic
#684BD9 #D9684B #4BD968
tetradic
#684BD9 #D94B75 #BCD94B #4BD9AF
square
#684BD9 #D94B75 #BCD94B #4BD9AF
split-complementary
#684BD9 #D9AF4B #75D94B
monochromatic
#341E8C #4728BF #684BD9 #927EE4 #BDB0EE

Accessibility & contrast

On white

5.84
#684BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#684BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BD9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BD9#FFFFFF#000000##FFFFFF
##684BD91.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#3B6E8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684bd9;
/* rgb */ color: rgb(104, 75, 217);
/* oklch */ color: oklch(52.7% 0.206 286.4);
Tailwind
colors: {
  custom: {
    50: '#9d7fe6',
    500: '#684bd9',
    950: '#000000',
  },
}
SCSS
$custom: #684bd9;
$custom-light: #9d7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#684bd9",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 252.254,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.20607,
    "h": 286.4
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#684BD9
secondary
#D1DDA3
accent
#E840C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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