#684AD4#684AD4

#684AD4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.1% C 0.201 H 287.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#684AD4
RGBrgb(104, 74, 212)
HSLhsl(253, 62%, 56%)
HSVhsv(253, 65%, 83%)
CMYKcmyk(50.9%, 65.1%, 0%, 16.9%)
CIE-LABlab(42.14, 46.96, -66.98)
CIE-LCHlch(42.14, 81.80, 305.04°)
OKLaboklab(52.14% 0.0596 -0.1921)
OKLCHoklch(52.14% 0.201 287.2)
XYZxyz(20.0379, 12.5931, 63.6495)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AD4 #B6D44A
analogous
#4A71D4 #684AD4 #AD4AD4
triadic
#684AD4 #D4684A #4AD468
tetradic
#684AD4 #D44A71 #B6D44A #4AD4AD
square
#684AD4 #D44A71 #B6D44A #4AD4AD
split-complementary
#684AD4 #D4AD4A #71D44A
monochromatic
#351F84 #492BB6 #684AD4 #917BE0 #BBADEB

Accessibility & contrast

On white

5.97
#684AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#684AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AD4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AD4#FFFFFF#000000##FFFFFF
##684AD41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#406C88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684ad4;
/* rgb */ color: rgb(104, 74, 212);
/* oklch */ color: oklch(52.1% 0.201 287.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ee2',
    500: '#684ad4',
    950: '#000000',
  },
}
SCSS
$custom: #684ad4;
$custom-light: #9c7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ad4",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 253.043,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.20117,
    "h": 287.2
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#684AD4
secondary
#CDD9A0
accent
#E543C2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #684AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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