#684CCD#684CCD

#684CCD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.190 H 287.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#684CCD
RGBrgb(104, 76, 205)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49.3%, 62.9%, 0%, 19.6%)
CIE-LABlab(42.03, 43.81, -63.14)
CIE-LCHlch(42.03, 76.84, 304.76°)
OKLaboklab(51.89% 0.0583 -0.1808)
OKLCHoklch(51.89% 0.19 287.9)
XYZxyz(19.3096, 12.5189, 59.1447)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CCD #B1CD4C
analogous
#4C71CD #684CCD #A84CCD
triadic
#684CCD #CD684C #4CCD68
tetradic
#684CCD #CD4C71 #B1CD4C #4CCDA8
square
#684CCD #CD4C71 #B1CD4C #4CCDA8
split-complementary
#684CCD #CDA84C #71CD4C
monochromatic
#36237C #4B30AC #684CCD #907CDA #B9ACE8

Accessibility & contrast

On white

5.99
#684CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#684CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CCD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CCD#FFFFFF#000000##FFFFFF
##684CCD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#456B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684ccd;
/* rgb */ color: rgb(104, 76, 205);
/* oklch */ color: oklch(51.9% 0.190 287.9);
Tailwind
colors: {
  custom: {
    50: '#9b7fdd',
    500: '#684ccd',
    950: '#000000',
  },
}
SCSS
$custom: #684ccd;
$custom-light: #9b7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#684ccd",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 253.023,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.19001,
    "h": 287.9
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#684CCD
secondary
#CAD59F
accent
#E048BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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