#684CD4#684CD4

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

Color values

HEX#684CD4
RGBrgb(104, 76, 212)
HSLhsl(252, 61%, 56%)
HSVhsv(252, 64%, 83%)
CMYKcmyk(50.9%, 64.2%, 0%, 16.9%)
CIE-LABlab(42.56, 45.85, -66.30)
CIE-LCHlch(42.56, 80.61, 304.66°)
OKLaboklab(52.44% 0.0577 -0.1902)
OKLCHoklch(52.44% 0.199 286.9)
XYZxyz(20.1735, 12.8644, 63.6947)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD4 #B8D44C
analogous
#4C74D4 #684CD4 #AC4CD4
triadic
#684CD4 #D4684C #4CD468
tetradic
#684CD4 #D44C74 #B8D44C #4CD4AC
square
#684CD4 #D44C74 #B8D44C #4CD4AC
split-complementary
#684CD4 #D4AC4C #74D44C
monochromatic
#352086 #492CB7 #684CD4 #927DE0 #BBAFEC

Accessibility & contrast

On white

5.88
#684CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#684CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CD4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD4#FFFFFF#000000##FFFFFF
##684CD41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#406D89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684cd4;
/* rgb */ color: rgb(104, 76, 212);
/* oklch */ color: oklch(52.4% 0.199 286.9);
Tailwind
colors: {
  custom: {
    50: '#9c80e2',
    500: '#684cd4',
    950: '#000000',
  },
}
SCSS
$custom: #684cd4;
$custom-light: #9c80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd4",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 252.353,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.19871,
    "h": 286.9
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#684CD4
secondary
#CEDAA2
accent
#E443C3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #684CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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