#684CA2#684CA2

#684CA2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.8% C 0.134 H 296.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#684CA2
RGBrgb(104, 76, 162)
HSLhsl(260, 36%, 47%)
HSVhsv(260, 53%, 64%)
CMYKcmyk(35.8%, 53.1%, 0%, 36.5%)
CIE-LABlab(39.11, 31.55, -42.60)
CIE-LCHlch(39.11, 53.01, 306.53°)
OKLaboklab(48.81% 0.059 -0.1205)
OKLCHoklch(48.81% 0.134 296.1)
XYZxyz(14.8133, 10.7203, 35.4642)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684CA2 #86A24C
analogous
#4C5BA2 #684CA2 #934CA2
triadic
#684CA2 #A2684C #4CA268
tetradic
#684CA2 #A24C5B #86A24C #4CA293
square
#684CA2 #A24C5B #86A24C #4CA293
split-complementary
#684CA2 #A2934C #5BA24C
monochromatic
#33254F #4D3878 #684CA2 #8870BC #AB99CF

Accessibility & contrast

On white

6.68
#684CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#684CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684CA2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684CA2#FFFFFF#000000##FFFFFF
##684CA21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#5B5D6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684ca2;
/* rgb */ color: rgb(104, 76, 162);
/* oklch */ color: oklch(48.8% 0.134 296.1);
Tailwind
colors: {
  custom: {
    50: '#967fbe',
    500: '#684ca2',
    950: '#000000',
  },
}
SCSS
$custom: #684ca2;
$custom-light: #967fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#684ca2",
  "rgb": {
    "r": 104,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 259.535,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.13414,
    "h": 296.1
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#684CA2
secondary
#ADBC8E
accent
#CC5CA8
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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