#684BC5#684BC5

#684BC5 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.181 H 289.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#684BC5
RGBrgb(104, 75, 197)
HSLhsl(254, 51%, 53%)
HSVhsv(254, 62%, 77%)
CMYKcmyk(47.2%, 61.9%, 0%, 22.7%)
CIE-LABlab(41.23, 42.06, -59.81)
CIE-LCHlch(41.23, 73.12, 305.12°)
OKLaboklab(51.12% 0.06 -0.1711)
OKLCHoklch(51.12% 0.181 289.3)
XYZxyz(18.3002, 12.0057, 54.1656)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BC5 #A8C54B
analogous
#4B6BC5 #684BC5 #A54BC5
triadic
#684BC5 #C5684B #4BC568
tetradic
#684BC5 #C54B6B #A8C54B #4BC5A5
square
#684BC5 #C54B6B #A8C54B #4BC5A5
split-complementary
#684BC5 #C5A54B #6BC54B
monochromatic
#372471 #4D339F #684BC5 #8F79D4 #B6A8E3

Accessibility & contrast

On white

6.17
#684BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#684BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BC5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BC5#FFFFFF#000000##FFFFFF
##684BC51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #684bc5;
/* rgb */ color: rgb(104, 75, 197);
/* oklch */ color: oklch(51.1% 0.181 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a7fd7',
    500: '#684bc5',
    950: '#000000',
  },
}
SCSS
$custom: #684bc5;
$custom-light: #9a7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#684bc5",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 254.262,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.18127,
    "h": 289.3
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #684BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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