#684CC1#684CC1

#684CC1 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.175 H 289.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#684CC1
RGBrgb(104, 76, 193)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(46.1%, 60.6%, 0%, 24.3%)
CIE-LABlab(41.15, 40.33, -57.59)
CIE-LCHlch(41.15, 70.31, 305.00°)
OKLaboklab(50.97% 0.0591 -0.1645)
OKLCHoklch(50.97% 0.175 289.8)
XYZxyz(17.9163, 11.9615, 51.8065)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC1 #A5C14C
analogous
#4C6AC1 #684CC1 #A34CC1
triadic
#684CC1 #C1684C #4CC168
tetradic
#684CC1 #C14C6A #A5C14C #4CC1A3
square
#684CC1 #C14C6A #A5C14C #4CC1A3
split-complementary
#684CC1 #C1A34C #6AC14C
monochromatic
#37266D #4E359A #684CC1 #8E79D1 #B5A7E0

Accessibility & contrast

On white

6.19
#684CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#684CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC1#FFFFFF#000000##FFFFFF
##684CC11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#4C677F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684cc1;
/* rgb */ color: rgb(104, 76, 193);
/* oklch */ color: oklch(51.0% 0.175 289.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fd4',
    500: '#684cc1',
    950: '#000000',
  },
}
SCSS
$custom: #684cc1;
$custom-light: #9a7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc1",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 254.359,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50974,
    "c": 0.17485,
    "h": 289.8
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#684CC1
secondary
#C2CE9B
accent
#D850B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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