#684CE1#684CE1

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

Color values

HEX#684CE1
RGBrgb(104, 76, 225)
HSLhsl(251, 71%, 59%)
HSVhsv(251, 66%, 88%)
CMYKcmyk(53.8%, 66.2%, 0%, 11.8%)
CIE-LABlab(43.58, 49.64, -72.07)
CIE-LCHlch(43.58, 87.51, 304.56°)
OKLaboklab(53.49% 0.0561 -0.2071)
OKLCHoklch(53.49% 0.215 285.2)
XYZxyz(21.8799, 13.5470, 72.6815)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CE1 #C5E14C
analogous
#4C7BE1 #684CE1 #B34CE1
triadic
#684CE1 #E1684C #4CE168
tetradic
#684CE1 #E14C7B #C5E14C #4CE1B3
square
#684CE1 #E14C7B #C5E14C #4CE1B3
split-complementary
#684CE1 #E1B34C #7BE14C
monochromatic
#321A99 #4322CD #684CE1 #9480EA #C0B5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##684CE1#FFFFFF#000000##FFFFFF
##684CE11.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)
#006BE6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#337290
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ce1;
/* rgb */ color: rgb(104, 76, 225);
/* oklch */ color: oklch(53.5% 0.215 285.2);
Tailwind
colors: {
  custom: {
    50: '#9e80eb',
    500: '#684ce1',
    950: '#000000',
  },
}
SCSS
$custom: #684ce1;
$custom-light: #9e80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#684ce1",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 251.275,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.21457,
    "h": 285.2
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#684CE1
secondary
#D7E2A7
accent
#EE3ACC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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