#684DCF#684DCF

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

Color values

HEX#684DCF
RGBrgb(104, 77, 207)
HSLhsl(252, 58%, 56%)
HSVhsv(252, 63%, 81%)
CMYKcmyk(49.8%, 62.8%, 0%, 18.8%)
CIE-LABlab(42.39, 43.82, -63.70)
CIE-LCHlch(42.39, 77.32, 304.53°)
OKLaboklab(52.2% 0.0571 -0.1825)
OKLCHoklch(52.2% 0.191 287.4)
XYZxyz(19.6220, 12.7549, 60.4474)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DCF #B4CF4D
analogous
#4D73CF #684DCF #A94DCF
triadic
#684DCF #CF684D #4DCF68
tetradic
#684DCF #CF4D73 #B4CF4D #4DCFA9
square
#684DCF #CF4D73 #B4CF4D #4DCFA9
split-complementary
#684DCF #CFA94D #73CF4D
monochromatic
#36227F #4A2FAF #684DCF #917DDC #BAADE9

Accessibility & contrast

On white

5.91
#684DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#684DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DCF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DCF#FFFFFF#000000##FFFFFF
##684DCF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#436C87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684dcf;
/* rgb */ color: rgb(104, 77, 207);
/* oklch */ color: oklch(52.2% 0.191 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b80df',
    500: '#684dcf',
    950: '#000000',
  },
}
SCSS
$custom: #684dcf;
$custom-light: #9b80df;
$custom-dark: #000000;
JSON
{
  "hex": "#684dcf",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 252.462,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.19123,
    "h": 287.4
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#684DCF
secondary
#CCD7A1
accent
#E147C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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