#684ACF#684ACF

#684ACF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.195 H 288.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#684ACF
RGBrgb(104, 74, 207)
HSLhsl(254, 58%, 55%)
HSVhsv(254, 64%, 81%)
CMYKcmyk(49.8%, 64.3%, 0%, 18.8%)
CIE-LABlab(41.76, 45.52, -64.73)
CIE-LCHlch(41.76, 79.13, 305.11°)
OKLaboklab(51.74% 0.0602 -0.1855)
OKLCHoklch(51.74% 0.195 288)
XYZxyz(19.4169, 12.3447, 60.3791)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ACF #B1CF4A
analogous
#4A6ECF #684ACF #AB4ACF
triadic
#684ACF #CF684A #4ACF68
tetradic
#684ACF #CF4A6E #B1CF4A #4ACFAB
square
#684ACF #CF4A6E #B1CF4A #4ACFAB
split-complementary
#684ACF #CFAB4A #6ECF4A
monochromatic
#36217D #4B2EAE #684ACF #907ADC #B9ABE9

Accessibility & contrast

On white

6.05
#684ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#684ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ACF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ACF#FFFFFF#000000##FFFFFF
##684ACF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#446A86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #684acf;
/* rgb */ color: rgb(104, 74, 207);
/* oklch */ color: oklch(51.7% 0.195 288.0);
Tailwind
colors: {
  custom: {
    50: '#9b7edf',
    500: '#684acf',
    950: '#000000',
  },
}
SCSS
$custom: #684acf;
$custom-light: #9b7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#684acf",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 253.534,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.19504,
    "h": 288
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#684ACF
secondary
#CAD69F
accent
#E146BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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