#684DAF#684DAF

#684DAF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.150 H 292.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#684DAF
RGBrgb(104, 77, 175)
HSLhsl(257, 39%, 49%)
HSVhsv(257, 56%, 69%)
CMYKcmyk(40.6%, 56%, 0%, 31.4%)
CIE-LABlab(40.16, 34.59, -48.64)
CIE-LCHlch(40.16, 59.69, 305.42°)
OKLaboklab(49.85% 0.0582 -0.1382)
OKLCHoklch(49.85% 0.15 292.8)
XYZxyz(16.0986, 11.3455, 41.8908)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DAF #94AF4D
analogous
#4D63AF #684DAF #994DAF
triadic
#684DAF #AF684D #4DAF68
tetradic
#684DAF #AF4D63 #94AF4D #4DAF99
square
#684DAF #AF4D63 #94AF4D #4DAF99
split-complementary
#684DAF #AF994D #63AF4D
monochromatic
#35285A #4F3A85 #684DAF #8B76C3 #AFA1D6

Accessibility & contrast

On white

6.42
#684DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#684DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DAF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DAF#FFFFFF#000000##FFFFFF
##684DAF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#556276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #684daf;
/* rgb */ color: rgb(104, 77, 175);
/* oklch */ color: oklch(49.9% 0.150 292.8);
Tailwind
colors: {
  custom: {
    50: '#9780c7',
    500: '#684daf',
    950: '#000000',
  },
}
SCSS
$custom: #684daf;
$custom-light: #9780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#684daf",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 256.531,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.14999,
    "h": 292.8
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#684DAF
secondary
#B6C395
accent
#CF59AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #684DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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