#684DA7#684DA7

#684DA7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.139 H 294.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#684DA7
RGBrgb(104, 77, 167)
HSLhsl(258, 37%, 48%)
HSVhsv(258, 54%, 65%)
CMYKcmyk(37.7%, 53.9%, 0%, 34.5%)
CIE-LABlab(39.65, 32.34, -44.71)
CIE-LCHlch(39.65, 55.18, 305.88°)
OKLaboklab(49.31% 0.058 -0.1267)
OKLCHoklch(49.31% 0.139 294.6)
XYZxyz(15.3360, 11.0405, 37.8748)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684DA7 #8CA74D
analogous
#4D5FA7 #684DA7 #954DA7
triadic
#684DA7 #A7684D #4DA768
tetradic
#684DA7 #A74D5F #8CA74D #4DA795
square
#684DA7 #A74D5F #8CA74D #4DA795
split-complementary
#684DA7 #A7954D #5FA74D
monochromatic
#342653 #4E3A7D #684DA7 #8973BE #AD9DD2

Accessibility & contrast

On white

6.55
#684DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#684DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684DA7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684DA7#FFFFFF#000000##FFFFFF
##684DA71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EAA
Deuteranopia (green-blind)
#2D5CA5
Tritanopia (blue-blind)
#595F72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #684da7;
/* rgb */ color: rgb(104, 77, 167);
/* oklch */ color: oklch(49.3% 0.139 294.6);
Tailwind
colors: {
  custom: {
    50: '#977fc2',
    500: '#684da7',
    950: '#000000',
  },
}
SCSS
$custom: #684da7;
$custom-light: #977fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#684da7",
  "rgb": {
    "r": 104,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 258,
    "s": 36.885,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.13931,
    "h": 294.6
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#684DA7
secondary
#B1BE91
accent
#CD5BAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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