#684DDC#684DDC

#684DDC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.207 H 285.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#684DDC
RGBrgb(104, 77, 220)
HSLhsl(251, 67%, 58%)
HSVhsv(251, 65%, 86%)
CMYKcmyk(52.7%, 65%, 0%, 13.7%)
CIE-LABlab(43.38, 47.63, -69.54)
CIE-LCHlch(43.38, 84.28, 304.41°)
OKLaboklab(53.23% 0.0558 -0.1997)
OKLCHoklch(53.23% 0.207 285.6)
XYZxyz(21.2772, 13.4170, 69.1649)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DDC #C1DC4D
analogous
#4D79DC #684DDC #B04DDC
triadic
#684DDC #DC684D #4DDC68
tetradic
#684DDC #DC4D79 #C1DC4D #4DDCB0
square
#684DDC #DC4D79 #C1DC4D #4DDCB0
split-complementary
#684DDC #DCB04D #79DC4D
monochromatic
#331D92 #4527C5 #684DDC #9380E6 #BFB3F0

Accessibility & contrast

On white

5.70
#684DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#684DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DDC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DDC#FFFFFF#000000##FFFFFF
##684DDC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#38718E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #684ddc;
/* rgb */ color: rgb(104, 77, 220);
/* oklch */ color: oklch(53.2% 0.207 285.6);
Tailwind
colors: {
  custom: {
    50: '#9d80e8',
    500: '#684ddc',
    950: '#000000',
  },
}
SCSS
$custom: #684ddc;
$custom-light: #9d80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#684ddc",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 251.329,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.20732,
    "h": 285.6
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#684DDC
secondary
#D4DFA6
accent
#EA3ECA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #684DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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