#684ECA#684ECA

#684ECA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.184 H 287.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#684ECA
RGBrgb(104, 78, 202)
HSLhsl(253, 54%, 55%)
HSVhsv(253, 61%, 79%)
CMYKcmyk(48.5%, 61.4%, 0%, 20.8%)
CIE-LABlab(42.24, 41.79, -61.06)
CIE-LCHlch(42.24, 73.99, 304.39°)
OKLaboklab(51.97% 0.0565 -0.1747)
OKLCHoklch(51.97% 0.184 287.9)
XYZxyz(19.0909, 12.6553, 57.3025)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ECA #B0CA4E
analogous
#4E72CA #684ECA #A64ECA
triadic
#684ECA #CA684E #4ECA68
tetradic
#684ECA #CA4E72 #B0CA4E #4ECAA6
square
#684ECA #CA4E72 #B0CA4E #4ECAA6
split-complementary
#684ECA #CAA64E #72CA4E
monochromatic
#362479 #4B32A8 #684ECA #907DD8 #B8ACE6

Accessibility & contrast

On white

5.95
#684ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#684ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ECA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ECA#FFFFFF#000000##FFFFFF
##684ECA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#476B85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684eca;
/* rgb */ color: rgb(104, 78, 202);
/* oklch */ color: oklch(52.0% 0.184 287.9);
Tailwind
colors: {
  custom: {
    50: '#9b81db',
    500: '#684eca',
    950: '#000000',
  },
}
SCSS
$custom: #684eca;
$custom-light: #9b81db;
$custom-dark: #000000;
JSON
{
  "hex": "#684eca",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 252.581,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.18363,
    "h": 287.9
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#684ECA
secondary
#C9D4A0
accent
#DD4BBF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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