#684DCC#684DCC

#684DCC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.187 H 287.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#684DCC
RGBrgb(104, 77, 204)
HSLhsl(253, 55%, 55%)
HSVhsv(253, 62%, 80%)
CMYKcmyk(49%, 62.3%, 0%, 20%)
CIE-LABlab(42.17, 42.95, -62.33)
CIE-LCHlch(42.17, 75.69, 304.57°)
OKLaboklab(51.97% 0.0574 -0.1785)
OKLCHoklch(51.97% 0.187 287.8)
XYZxyz(19.2587, 12.6096, 58.5342)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DCC #B1CC4D
analogous
#4D71CC #684DCC #A84DCC
triadic
#684DCC #CC684D #4DCC68
tetradic
#684DCC #CC4D71 #B1CC4D #4DCCA8
square
#684DCC #CC4D71 #B1CC4D #4DCCA8
split-complementary
#684DCC #CCA84D #71CC4D
monochromatic
#36237B #4B31AB #684DCC #907DDA #B9ACE7

Accessibility & contrast

On white

5.96
#684DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #684DCC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DCC#FFFFFF#000000##FFFFFF
##684DCC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#456B85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684dcc;
/* rgb */ color: rgb(104, 77, 204);
/* oklch */ color: oklch(52.0% 0.187 287.8);
Tailwind
colors: {
  custom: {
    50: '#9b80dc',
    500: '#684dcc',
    950: '#000000',
  },
}
SCSS
$custom: #684dcc;
$custom-light: #9b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#684dcc",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 252.756,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.18747,
    "h": 287.8
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#684DCC
secondary
#CAD5A0
accent
#DF49BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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