#684ECF#684ECF

#684ECF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.190 H 287.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#684ECF
RGBrgb(104, 78, 207)
HSLhsl(252, 57%, 56%)
HSVhsv(252, 62%, 81%)
CMYKcmyk(49.8%, 62.3%, 0%, 18.8%)
CIE-LABlab(42.61, 43.25, -63.35)
CIE-LCHlch(42.61, 76.71, 304.32°)
OKLaboklab(52.35% 0.0561 -0.1815)
OKLCHoklch(52.35% 0.19 287.2)
XYZxyz(19.6925, 12.8959, 60.4709)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ECF #B5CF4E
analogous
#4E74CF #684ECF #A84ECF
triadic
#684ECF #CF684E #4ECF68
tetradic
#684ECF #CF4E74 #B5CF4E #4ECFA8
square
#684ECF #CF4E74 #B5CF4E #4ECFA8
split-complementary
#684ECF #CFA84E #74CF4E
monochromatic
#352380 #4A30B0 #684ECF #917EDC #BAAEE9

Accessibility & contrast

On white

5.87
#684ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#684ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ECF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ECF#FFFFFF#000000##FFFFFF
##684ECF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#436D87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684ecf;
/* rgb */ color: rgb(104, 78, 207);
/* oklch */ color: oklch(52.4% 0.190 287.2);
Tailwind
colors: {
  custom: {
    50: '#9b81df',
    500: '#684ecf',
    950: '#000000',
  },
}
SCSS
$custom: #684ecf;
$custom-light: #9b81df;
$custom-dark: #000000;
JSON
{
  "hex": "#684ecf",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 252.093,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.18996,
    "h": 287.2
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#684ECF
secondary
#CCD7A2
accent
#E147C2
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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