#684CD3#684CD3

#684CD3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.197 H 287.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#684CD3
RGBrgb(104, 76, 211)
HSLhsl(252, 61%, 56%)
HSVhsv(252, 64%, 83%)
CMYKcmyk(50.7%, 64%, 0%, 17.3%)
CIE-LABlab(42.48, 45.56, -65.85)
CIE-LCHlch(42.48, 80.08, 304.67°)
OKLaboklab(52.36% 0.0578 -0.1888)
OKLCHoklch(52.36% 0.197 287)
XYZxyz(20.0478, 12.8141, 63.0324)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CD3 #B7D34C
analogous
#4C74D3 #684CD3 #AB4CD3
triadic
#684CD3 #D3684C #4CD368
tetradic
#684CD3 #D34C74 #B7D34C #4CD3AB
square
#684CD3 #D34C74 #B7D34C #4CD3AB
split-complementary
#684CD3 #D3AB4C #74D34C
monochromatic
#352084 #492DB5 #684CD3 #917DDF #BBAEEB

Accessibility & contrast

On white

5.89
#684CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684CD3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CD3#FFFFFF#000000##FFFFFF
##684CD31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684cd3;
/* rgb */ color: rgb(104, 76, 211);
/* oklch */ color: oklch(52.4% 0.197 287.0);
Tailwind
colors: {
  custom: {
    50: '#9c80e1',
    500: '#684cd3',
    950: '#000000',
  },
}
SCSS
$custom: #684cd3;
$custom-light: #9c80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#684cd3",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 252.444,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.19748,
    "h": 287
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#684CD3
secondary
#CED9A2
accent
#E444C3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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