#684FAC#684FAC

#684FAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.143 H 292.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#684FAC
RGBrgb(104, 79, 172)
HSLhsl(256, 37%, 49%)
HSVhsv(256, 54%, 67%)
CMYKcmyk(39.5%, 54.1%, 0%, 32.5%)
CIE-LABlab(40.43, 32.55, -46.42)
CIE-LCHlch(40.43, 56.70, 305.03°)
OKLaboklab(49.99% 0.0556 -0.1317)
OKLCHoklch(49.99% 0.143 292.9)
XYZxyz(15.9493, 11.5132, 40.4037)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684FAC #93AC4F
analogous
#4F65AC #684FAC #974FAC
triadic
#684FAC #AC684F #4FAC68
tetradic
#684FAC #AC4F65 #93AC4F #4FAC97
square
#684FAC #AC4F65 #93AC4F #4FAC97
split-complementary
#684FAC #AC974F #65AC4F
monochromatic
#352858 #4F3C82 #684FAC #8B77C1 #AFA1D4

Accessibility & contrast

On white

6.36
#684FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#684FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684FAC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684FAC#FFFFFF#000000##FFFFFF
##684FAC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561AF
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#566276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684fac;
/* rgb */ color: rgb(104, 79, 172);
/* oklch */ color: oklch(50.0% 0.143 292.9);
Tailwind
colors: {
  custom: {
    50: '#9781c5',
    500: '#684fac',
    950: '#000000',
  },
}
SCSS
$custom: #684fac;
$custom-light: #9781c5;
$custom-dark: #000000;
JSON
{
  "hex": "#684fac",
  "rgb": {
    "r": 104,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 256.129,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49993,
    "c": 0.14296,
    "h": 292.9
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#684FAC
secondary
#B5C196
accent
#CD5BAE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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