#684ABE#684ABE

#684ABE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.174 H 290.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#684ABE
RGBrgb(104, 74, 190)
HSLhsl(256, 47%, 52%)
HSVhsv(256, 61%, 75%)
CMYKcmyk(45.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(40.50, 40.62, -56.90)
CIE-LCHlch(40.50, 69.91, 305.52°)
OKLaboklab(50.43% 0.0615 -0.1625)
OKLCHoklch(50.43% 0.174 290.7)
XYZxyz(17.4494, 11.5577, 50.0167)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684ABE #A0BE4A
analogous
#4A66BE #684ABE #A24ABE
triadic
#684ABE #BE684A #4ABE68
tetradic
#684ABE #BE4A66 #A0BE4A #4ABEA2
square
#684ABE #BE4A66 #A0BE4A #4ABEA2
split-complementary
#684ABE #BEA24A #66BE4A
monochromatic
#372568 #4E3695 #684ABE #8E77CE #B3A4DE

Accessibility & contrast

On white

6.34
#684ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#684ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684ABE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684ABE#FFFFFF#000000##FFFFFF
##684ABE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#4E657D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684abe;
/* rgb */ color: rgb(104, 74, 190);
/* oklch */ color: oklch(50.4% 0.174 290.7);
Tailwind
colors: {
  custom: {
    50: '#997ed2',
    500: '#684abe',
    950: '#000000',
  },
}
SCSS
$custom: #684abe;
$custom-light: #997ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#684abe",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 255.517,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.17376,
    "h": 290.7
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#684ABE
secondary
#BECB98
accent
#D751B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #684ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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