#684ACE#684ACE

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

Color values

HEX#684ACE
RGBrgb(104, 74, 206)
HSLhsl(254, 57%, 55%)
HSVhsv(254, 64%, 81%)
CMYKcmyk(49.5%, 64.1%, 0%, 19.2%)
CIE-LABlab(41.68, 45.23, -64.28)
CIE-LCHlch(41.68, 78.59, 305.13°)
OKLaboklab(51.66% 0.0603 -0.1842)
OKLCHoklch(51.66% 0.194 288.1)
XYZxyz(19.2950, 12.2960, 59.7372)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ACE #B0CE4A
analogous
#4A6ECE #684ACE #AA4ACE
triadic
#684ACE #CE684A #4ACE68
tetradic
#684ACE #CE4A6E #B0CE4A #4ACEAA
square
#684ACE #CE4A6E #B0CE4A #4ACEAA
split-complementary
#684ACE #CEAA4A #6ECE4A
monochromatic
#36227C #4B2FAC #684ACE #907ADB #B8AAE8

Accessibility & contrast

On white

6.07
#684ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#684ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ACE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ACE#FFFFFF#000000##FFFFFF
##684ACE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#446A85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #684ace;
/* rgb */ color: rgb(104, 74, 206);
/* oklch */ color: oklch(51.7% 0.194 288.1);
Tailwind
colors: {
  custom: {
    50: '#9b7ede',
    500: '#684ace',
    950: '#000000',
  },
}
SCSS
$custom: #684ace;
$custom-light: #9b7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#684ace",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 253.636,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.1938,
    "h": 288.1
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#684ACE
secondary
#C9D69E
accent
#E147BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #684ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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