#684AC2#684AC2

#684AC2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.179 H 290.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#684AC2
RGBrgb(104, 74, 194)
HSLhsl(255, 50%, 53%)
HSVhsv(255, 62%, 76%)
CMYKcmyk(46.4%, 61.9%, 0%, 23.9%)
CIE-LABlab(40.79, 41.77, -58.76)
CIE-LCHlch(40.79, 72.10, 305.40°)
OKLaboklab(50.73% 0.0613 -0.168)
OKLCHoklch(50.73% 0.179 290)
XYZxyz(17.8925, 11.7350, 52.3508)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684AC2 #A4C24A
analogous
#4A68C2 #684AC2 #A44AC2
triadic
#684AC2 #C2684A #4AC268
tetradic
#684AC2 #C24A68 #A4C24A #4AC2A4
square
#684AC2 #C24A68 #A4C24A #4AC2A4
split-complementary
#684AC2 #C2A44A #68C24A
monochromatic
#37256D #4E349B #684AC2 #8E78D1 #B4A6E1

Accessibility & contrast

On white

6.27
#684AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#684AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684AC2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684AC2#FFFFFF#000000##FFFFFF
##684AC21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#4C667F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #684ac2;
/* rgb */ color: rgb(104, 74, 194);
/* oklch */ color: oklch(50.7% 0.179 290.0);
Tailwind
colors: {
  custom: {
    50: '#9a7ed5',
    500: '#684ac2',
    950: '#000000',
  },
}
SCSS
$custom: #684ac2;
$custom-light: #9a7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#684ac2",
  "rgb": {
    "r": 104,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 255,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.17881,
    "h": 290
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#684AC2
secondary
#C1CE9A
accent
#D94FB7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #684AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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