#684CD9#684CD9

#684CD9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.8% C 0.205 H 286.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#684CD9
RGBrgb(104, 76, 217)
HSLhsl(252, 65%, 57%)
HSVhsv(252, 65%, 85%)
CMYKcmyk(52.1%, 65%, 0%, 14.9%)
CIE-LABlab(42.94, 47.31, -68.54)
CIE-LCHlch(42.94, 83.28, 304.61°)
OKLaboklab(52.84% 0.0571 -0.1967)
OKLCHoklch(52.84% 0.205 286.2)
XYZxyz(20.8140, 13.1206, 67.0680)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD9 #BDD94C
analogous
#4C76D9 #684CD9 #AF4CD9
triadic
#684CD9 #D9684C #4CD968
tetradic
#684CD9 #D94C76 #BDD94C #4CD9AF
square
#684CD9 #D94C76 #BDD94C #4CD9AF
split-complementary
#684CD9 #D9AF4C #76D94C
monochromatic
#341E8D #4729BF #684CD9 #937EE4 #BDB1EE

Accessibility & contrast

On white

5.79
#684CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#684CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CD9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD9#FFFFFF#000000##FFFFFF
##684CD91.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684cd9;
/* rgb */ color: rgb(104, 76, 217);
/* oklch */ color: oklch(52.8% 0.205 286.2);
Tailwind
colors: {
  custom: {
    50: '#9d80e6',
    500: '#684cd9',
    950: '#000000',
  },
}
SCSS
$custom: #684cd9;
$custom-light: #9d80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd9",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 251.915,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.20485,
    "h": 286.2
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#684CD9
secondary
#D2DDA4
accent
#E840C7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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