#684AC3#684AC3

#684AC3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.180 H 289.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#684AC3
RGBrgb(104, 74, 195)
HSLhsl(255, 50%, 53%)
HSVhsv(255, 62%, 76%)
CMYKcmyk(46.7%, 62.1%, 0%, 23.5%)
CIE-LABlab(40.86, 42.05, -59.23)
CIE-LCHlch(40.86, 72.64, 305.38°)
OKLaboklab(50.81% 0.0612 -0.1694)
OKLCHoklch(50.81% 0.18 289.9)
XYZxyz(18.0052, 11.7801, 52.9443)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AC3 #A5C34A
analogous
#4A69C3 #684AC3 #A44AC3
triadic
#684AC3 #C3684A #4AC368
tetradic
#684AC3 #C34A69 #A5C34A #4AC3A4
square
#684AC3 #C34A69 #A5C34A #4AC3A4
split-complementary
#684AC3 #C3A44A #69C34A
monochromatic
#37246E #4E349C #684AC3 #8E78D2 #B5A6E1

Accessibility & contrast

On white

6.26
#684AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#684AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AC3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AC3#FFFFFF#000000##FFFFFF
##684AC31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#4B667F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684ac3;
/* rgb */ color: rgb(104, 74, 195);
/* oklch */ color: oklch(50.8% 0.180 289.9);
Tailwind
colors: {
  custom: {
    50: '#9a7ed6',
    500: '#684ac3',
    950: '#000000',
  },
}
SCSS
$custom: #684ac3;
$custom-light: #9a7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#684ac3",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 254.876,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.18008,
    "h": 289.9
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#684AC3
secondary
#C2CF9A
accent
#DA4EB7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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