#684CC0#684CC0

#684CC0 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.174 H 289.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#684CC0
RGBrgb(104, 76, 192)
HSLhsl(254, 48%, 53%)
HSVhsv(254, 60%, 75%)
CMYKcmyk(45.8%, 60.4%, 0%, 24.7%)
CIE-LABlab(41.08, 40.04, -57.13)
CIE-LCHlch(41.08, 69.76, 305.03°)
OKLaboklab(50.9% 0.0592 -0.1632)
OKLCHoklch(50.9% 0.174 289.9)
XYZxyz(17.8051, 11.9171, 51.2210)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CC0 #A4C04C
analogous
#4C6AC0 #684CC0 #A24CC0
triadic
#684CC0 #C0684C #4CC068
tetradic
#684CC0 #C04C6A #A4C04C #4CC0A2
square
#684CC0 #C04C6A #A4C04C #4CC0A2
split-complementary
#684CC0 #C0A24C #6AC04C
monochromatic
#37266C #4E3699 #684CC0 #8E79D0 #B4A7E0

Accessibility & contrast

On white

6.21
#684CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#684CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CC0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CC0#FFFFFF#000000##FFFFFF
##684CC01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#4D667F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #684cc0;
/* rgb */ color: rgb(104, 76, 192);
/* oklch */ color: oklch(50.9% 0.174 289.9);
Tailwind
colors: {
  custom: {
    50: '#997fd4',
    500: '#684cc0',
    950: '#000000',
  },
}
SCSS
$custom: #684cc0;
$custom-light: #997fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#684cc0",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 254.483,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.509,
    "c": 0.17357,
    "h": 289.9
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#684CC0
secondary
#C1CD9B
accent
#D850B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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