#684FD9#684FD9

#684FD9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.3% C 0.201 H 285.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#684FD9
RGBrgb(104, 79, 217)
HSLhsl(251, 64%, 58%)
HSVhsv(251, 64%, 85%)
CMYKcmyk(52.1%, 63.6%, 0%, 14.9%)
CIE-LABlab(43.57, 45.62, -67.52)
CIE-LCHlch(43.57, 81.49, 304.05°)
OKLaboklab(53.29% 0.0543 -0.1937)
OKLCHoklch(53.29% 0.201 285.6)
XYZxyz(21.0255, 13.5437, 67.1385)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FD9 #C0D94F
analogous
#4F7BD9 #684FD9 #AD4FD9
triadic
#684FD9 #D9684F #4FD968
tetradic
#684FD9 #D94F7B #C0D94F #4FD9AD
square
#684FD9 #D94F7B #C0D94F #4FD9AD
split-complementary
#684FD9 #D9AD4F #7BD94F
monochromatic
#331F8F #452AC1 #684FD9 #9381E4 #BEB4EF

Accessibility & contrast

On white

5.66
#684FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#684FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FD9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FD9#FFFFFF#000000##FFFFFF
##684FD91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#3B718D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684fd9;
/* rgb */ color: rgb(104, 79, 217);
/* oklch */ color: oklch(53.3% 0.201 285.6);
Tailwind
colors: {
  custom: {
    50: '#9c82e6',
    500: '#684fd9',
    950: '#000000',
  },
}
SCSS
$custom: #684fd9;
$custom-light: #9c82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#684fd9",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 250.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.20118,
    "h": 285.6
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#684FD9
secondary
#D3DDA6
accent
#E740C9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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