#684CE7#684CE7

#684CE7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.222 H 284.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#684CE7
RGBrgb(104, 76, 231)
HSLhsl(251, 76%, 60%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(55%, 67.1%, 0%, 9.4%)
CIE-LABlab(44.06, 51.39, -74.69)
CIE-LCHlch(44.06, 90.66, 304.53°)
OKLaboklab(53.99% 0.0553 -0.2148)
OKLCHoklch(53.99% 0.222 284.4)
XYZxyz(22.7128, 13.8801, 77.0681)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CE7 #CBE74C
analogous
#4C7DE7 #684CE7 #B64CE7
triadic
#684CE7 #E7684C #4CE768
tetradic
#684CE7 #E74C7D #CBE74C #4CE7B6
square
#684CE7 #E74C7D #CBE74C #4CE7B6
split-complementary
#684CE7 #E7B64C #7DE74C
monochromatic
#2F16A3 #3F1DD9 #684CE7 #9682EE #C3B8F5

Accessibility & contrast

On white

5.56
#684CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#684CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CE7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CE7#FFFFFF#000000##FFFFFF
##684CE71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#2C7493
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #684ce7;
/* rgb */ color: rgb(104, 76, 231);
/* oklch */ color: oklch(54.0% 0.222 284.4);
Tailwind
colors: {
  custom: {
    50: '#9f80f0',
    500: '#684ce7',
    950: '#000000',
  },
}
SCSS
$custom: #684ce7;
$custom-light: #9f80f0;
$custom-dark: #000000;
JSON
{
  "hex": "#684ce7",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 250.839,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.22177,
    "h": 284.4
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#684CE7
secondary
#DAE5AA
accent
#D90DB4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #684CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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