#684ACA#684ACA

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

Color values

HEX#684ACA
RGBrgb(104, 74, 202)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 63%, 79%)
CMYKcmyk(48.5%, 63.4%, 0%, 20.8%)
CIE-LABlab(41.38, 44.07, -62.45)
CIE-LCHlch(41.38, 76.44, 305.21°)
OKLaboklab(51.35% 0.0606 -0.1788)
OKLCHoklch(51.35% 0.189 288.7)
XYZxyz(18.8153, 12.1041, 57.2106)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ACA #ACCA4A
analogous
#4A6CCA #684ACA #A84ACA
triadic
#684ACA #CA684A #4ACA68
tetradic
#684ACA #CA4A6C #ACCA4A #4ACAA8
square
#684ACA #CA4A6C #ACCA4A #4ACAA8
split-complementary
#684ACA #CAA84A #6CCA4A
monochromatic
#362377 #4C31A6 #684ACA #8F79D8 #B7A9E6

Accessibility & contrast

On white

6.14
#684ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#684ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ACA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ACA#FFFFFF#000000##FFFFFF
##684ACA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#476983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684aca;
/* rgb */ color: rgb(104, 74, 202);
/* oklch */ color: oklch(51.3% 0.189 288.7);
Tailwind
colors: {
  custom: {
    50: '#9b7edb',
    500: '#684aca',
    950: '#000000',
  },
}
SCSS
$custom: #684aca;
$custom-light: #9b7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#684aca",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 254.063,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.18884,
    "h": 288.7
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#684ACA
secondary
#C6D39D
accent
#DE4ABB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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