#684CE2#684CE2

#684CE2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.216 H 285.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#684CE2
RGBrgb(104, 76, 226)
HSLhsl(251, 72%, 59%)
HSVhsv(251, 66%, 89%)
CMYKcmyk(54%, 66.4%, 0%, 11.4%)
CIE-LABlab(43.66, 49.93, -72.51)
CIE-LCHlch(43.66, 88.04, 304.55°)
OKLaboklab(53.57% 0.056 -0.2084)
OKLCHoklch(53.57% 0.216 285)
XYZxyz(22.0167, 13.6017, 73.4020)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CE2 #C6E24C
analogous
#4C7BE2 #684CE2 #B34CE2
triadic
#684CE2 #E2684C #4CE268
tetradic
#684CE2 #E24C7B #C6E24C #4CE2B3
square
#684CE2 #E24C7B #C6E24C #4CE2B3
split-complementary
#684CE2 #E2B34C #7BE24C
monochromatic
#31199B #4222CF #684CE2 #9481EB #C1B5F3

Accessibility & contrast

On white

5.64
#684CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#684CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CE2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CE2#FFFFFF#000000##FFFFFF
##684CE21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#327291
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #684ce2;
/* rgb */ color: rgb(104, 76, 226);
/* oklch */ color: oklch(53.6% 0.216 285.0);
Tailwind
colors: {
  custom: {
    50: '#9e80ec',
    500: '#684ce2',
    950: '#000000',
  },
}
SCSS
$custom: #684ce2;
$custom-light: #9e80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#684ce2",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 251.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.21578,
    "h": 285
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#684CE2
secondary
#D7E2A8
accent
#EF39CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #684CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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