#684DCD#684DCD

#684DCD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.189 H 287.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#684DCD
RGBrgb(104, 77, 205)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 62%, 80%)
CMYKcmyk(49.3%, 62.4%, 0%, 19.6%)
CIE-LABlab(42.24, 43.24, -62.79)
CIE-LCHlch(42.24, 76.24, 304.55°)
OKLaboklab(52.04% 0.0573 -0.1798)
OKLCHoklch(52.04% 0.189 287.7)
XYZxyz(19.3790, 12.6577, 59.1679)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DCD #B2CD4D
analogous
#4D72CD #684DCD #A84DCD
triadic
#684DCD #CD684D #4DCD68
tetradic
#684DCD #CD4D72 #B2CD4D #4DCDA8
square
#684DCD #CD4D72 #B2CD4D #4DCDA8
split-complementary
#684DCD #CDA84D #72CD4D
monochromatic
#36237D #4B30AC #684DCD #917DDA #B9ADE8

Accessibility & contrast

On white

5.95
#684DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#684DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DCD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DCD#FFFFFF#000000##FFFFFF
##684DCD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#456B86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #684dcd;
/* rgb */ color: rgb(104, 77, 205);
/* oklch */ color: oklch(52.0% 0.189 287.7);
Tailwind
colors: {
  custom: {
    50: '#9b80dd',
    500: '#684dcd',
    950: '#000000',
  },
}
SCSS
$custom: #684dcd;
$custom-light: #9b80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#684dcd",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 252.656,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.18873,
    "h": 287.7
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#684DCD
secondary
#CAD6A0
accent
#DF48C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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