#684CC5#684CC5

#684CC5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.180 H 289.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#684CC5
RGBrgb(104, 76, 197)
HSLhsl(254, 51%, 54%)
HSVhsv(254, 61%, 77%)
CMYKcmyk(47.2%, 61.4%, 0%, 22.7%)
CIE-LABlab(41.44, 41.49, -59.46)
CIE-LCHlch(41.44, 72.50, 304.90°)
OKLaboklab(51.27% 0.0589 -0.17)
OKLCHoklch(51.27% 0.18 289.1)
XYZxyz(18.3685, 12.1424, 54.1884)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC5 #A9C54C
analogous
#4C6CC5 #684CC5 #A44CC5
triadic
#684CC5 #C5684C #4CC568
tetradic
#684CC5 #C54C6C #A9C54C #4CC5A4
square
#684CC5 #C54C6C #A9C54C #4CC5A4
split-complementary
#684CC5 #C5A44C #6CC54C
monochromatic
#372572 #4D34A0 #684CC5 #8F7AD4 #B6A8E3

Accessibility & contrast

On white

6.12
#684CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#684CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC5#FFFFFF#000000##FFFFFF
##684CC51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#4A6881
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684cc5;
/* rgb */ color: rgb(104, 76, 197);
/* oklch */ color: oklch(51.3% 0.180 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a7fd7',
    500: '#684cc5',
    950: '#000000',
  },
}
SCSS
$custom: #684cc5;
$custom-light: #9a7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc5",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 253.884,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.17994,
    "h": 289.1
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#684CC5
secondary
#C4D09C
accent
#DB4DBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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