#684CE9#684CE9

#684CE9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.224 H 284.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#684CE9
RGBrgb(104, 76, 233)
HSLhsl(251, 78%, 61%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(55.4%, 67.4%, 0%, 8.6%)
CIE-LABlab(44.22, 51.98, -75.55)
CIE-LCHlch(44.22, 91.70, 304.53°)
OKLaboklab(54.16% 0.055 -0.2173)
OKLCHoklch(54.16% 0.224 284.2)
XYZxyz(22.9969, 13.9938, 78.5643)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CE9 #CDE94C
analogous
#4C7EE9 #684CE9 #B74CE9
triadic
#684CE9 #E9684C #4CE968
tetradic
#684CE9 #E94C7E #CDE94C #4CE9B7
square
#684CE9 #E94C7E #CDE94C #4CE9B7
split-complementary
#684CE9 #E9B74C #7EE94C
monochromatic
#2E14A6 #3E1BDD #684CE9 #9683F0 #C4B9F6

Accessibility & contrast

On white

5.53
#684CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#684CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CE9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CE9#FFFFFF#000000##FFFFFF
##684CE91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#297594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #684ce9;
/* rgb */ color: rgb(104, 76, 233);
/* oklch */ color: oklch(54.2% 0.224 284.2);
Tailwind
colors: {
  custom: {
    50: '#9f80f1',
    500: '#684ce9',
    950: '#000000',
  },
}
SCSS
$custom: #684ce9;
$custom-light: #9f80f1;
$custom-dark: #000000;
JSON
{
  "hex": "#684ce9",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 250.701,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.22415,
    "h": 284.2
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#684CE9
secondary
#DCE6AB
accent
#DA0BB5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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