#684ECD#684ECD

#684ECD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.187 H 287.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#684ECD
RGBrgb(104, 78, 205)
HSLhsl(252, 56%, 55%)
HSVhsv(252, 62%, 80%)
CMYKcmyk(49.3%, 62%, 0%, 19.6%)
CIE-LABlab(42.46, 42.67, -62.44)
CIE-LCHlch(42.46, 75.62, 304.35°)
OKLaboklab(52.2% 0.0563 -0.1788)
OKLCHoklch(52.2% 0.187 287.5)
XYZxyz(19.4495, 12.7987, 59.1914)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ECD #B3CD4E
analogous
#4E74CD #684ECD #A74ECD
triadic
#684ECD #CD684E #4ECD68
tetradic
#684ECD #CD4E74 #B3CD4E #4ECDA7
square
#684ECD #CD4E74 #B3CD4E #4ECDA7
split-complementary
#684ECD #CDA74E #74CD4E
monochromatic
#36237D #4A31AD #684ECD #917EDA #B9ADE8

Accessibility & contrast

On white

5.90
#684ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#684ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ECD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ECD#FFFFFF#000000##FFFFFF
##684ECD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#456C86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684ecd;
/* rgb */ color: rgb(104, 78, 205);
/* oklch */ color: oklch(52.2% 0.187 287.5);
Tailwind
colors: {
  custom: {
    50: '#9b81dd',
    500: '#684ecd',
    950: '#000000',
  },
}
SCSS
$custom: #684ecd;
$custom-light: #9b81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#684ecd",
  "rgb": {
    "r": 104,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 252.283,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.522,
    "c": 0.18743,
    "h": 287.5
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#684ECD
secondary
#CBD6A1
accent
#DF49C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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