#684ACB#684ACB

#684ACB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.190 H 288.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#684ACB
RGBrgb(104, 74, 203)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 64%, 80%)
CMYKcmyk(48.8%, 63.5%, 0%, 20.4%)
CIE-LABlab(41.46, 44.36, -62.91)
CIE-LCHlch(41.46, 76.98, 305.19°)
OKLaboklab(51.42% 0.0606 -0.1802)
OKLCHoklch(51.42% 0.19 288.6)
XYZxyz(18.9341, 12.1516, 57.8362)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ACB #ADCB4A
analogous
#4A6DCB #684ACB #A84ACB
triadic
#684ACB #CB684A #4ACB68
tetradic
#684ACB #CB4A6D #ADCB4A #4ACBA8
square
#684ACB #CB4A6D #ADCB4A #4ACBA8
split-complementary
#684ACB #CBA84A #6DCB4A
monochromatic
#362378 #4C30A8 #684ACB #907AD9 #B7A9E6

Accessibility & contrast

On white

6.12
#684ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#684ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ACB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ACB#FFFFFF#000000##FFFFFF
##684ACB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#466984
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684acb;
/* rgb */ color: rgb(104, 74, 203);
/* oklch */ color: oklch(51.4% 0.190 288.6);
Tailwind
colors: {
  custom: {
    50: '#9b7edc',
    500: '#684acb',
    950: '#000000',
  },
}
SCSS
$custom: #684acb;
$custom-light: #9b7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#684acb",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 253.953,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.19008,
    "h": 288.6
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#684ACB
secondary
#C7D49D
accent
#DF49BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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