#684DD6#684DD6

#684DD6 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.200 H 286.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#684DD6
RGBrgb(104, 77, 214)
HSLhsl(252, 63%, 57%)
HSVhsv(252, 64%, 84%)
CMYKcmyk(51.4%, 64%, 0%, 16.1%)
CIE-LABlab(42.92, 45.87, -66.86)
CIE-LCHlch(42.92, 81.08, 304.45°)
OKLaboklab(52.75% 0.0565 -0.1918)
OKLCHoklch(52.75% 0.2 286.4)
XYZxyz(20.4968, 13.1048, 65.0548)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DD6 #BBD64D
analogous
#4D77D6 #684DD6 #AD4DD6
triadic
#684DD6 #D6684D #4DD668
tetradic
#684DD6 #D64D77 #BBD64D #4DD6AD
square
#684DD6 #D64D77 #BBD64D #4DD6AD
split-complementary
#684DD6 #D6AD4D #77D64D
monochromatic
#342089 #472BBB #684DD6 #927FE1 #BCB0ED

Accessibility & contrast

On white

5.80
#684DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#684DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DD6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DD6#FFFFFF#000000##FFFFFF
##684DD61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#3E6F8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #684dd6;
/* rgb */ color: rgb(104, 77, 214);
/* oklch */ color: oklch(52.7% 0.200 286.4);
Tailwind
colors: {
  custom: {
    50: '#9c80e4',
    500: '#684dd6',
    950: '#000000',
  },
}
SCSS
$custom: #684dd6;
$custom-light: #9c80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#684dd6",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 251.825,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.19994,
    "h": 286.4
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#684DD6
secondary
#D0DBA4
accent
#E642C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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