#684CC8#684CC8

#684CC8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.184 H 288.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#684CC8
RGBrgb(104, 76, 200)
HSLhsl(254, 53%, 54%)
HSVhsv(254, 62%, 78%)
CMYKcmyk(48%, 62%, 0%, 21.6%)
CIE-LABlab(41.66, 42.35, -60.84)
CIE-LCHlch(41.66, 74.13, 304.84°)
OKLaboklab(51.5% 0.0587 -0.1741)
OKLCHoklch(51.5% 0.184 288.6)
XYZxyz(18.7157, 12.2813, 56.0168)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC8 #ACC84C
analogous
#4C6EC8 #684CC8 #A64CC8
triadic
#684CC8 #C8684C #4CC868
tetradic
#684CC8 #C84C6E #ACC84C #4CC8A6
square
#684CC8 #C84C6E #ACC84C #4CC8A6
split-complementary
#684CC8 #C8A64C #6EC84C
monochromatic
#362475 #4C32A4 #684CC8 #8F7BD6 #B7AAE5

Accessibility & contrast

On white

6.08
#684CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#684CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC8#FFFFFF#000000##FFFFFF
##684CC81.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#486983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684cc8;
/* rgb */ color: rgb(104, 76, 200);
/* oklch */ color: oklch(51.5% 0.184 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a7fda',
    500: '#684cc8',
    950: '#000000',
  },
}
SCSS
$custom: #684cc8;
$custom-light: #9a7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc8",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 253.548,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.18373,
    "h": 288.6
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#684CC8
secondary
#C6D29E
accent
#DC4BBC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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