#684BA7#684BA7

#684BA7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.142 H 295.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#684BA7
RGBrgb(104, 75, 167)
HSLhsl(259, 38%, 47%)
HSVhsv(259, 55%, 65%)
CMYKcmyk(37.7%, 55.1%, 0%, 34.5%)
CIE-LABlab(39.18, 33.53, -45.46)
CIE-LCHlch(39.18, 56.49, 306.42°)
OKLaboklab(48.97% 0.0606 -0.1289)
OKLCHoklch(48.97% 0.142 295.2)
XYZxyz(15.1982, 10.7649, 37.8288)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684BA7 #8AA74B
analogous
#4B5CA7 #684BA7 #964BA7
triadic
#684BA7 #A7684B #4BA768
tetradic
#684BA7 #A74B5C #8AA74B #4BA796
square
#684BA7 #A74B5C #8AA74B #4BA796
split-complementary
#684BA7 #A7964B #5CA74B
monochromatic
#332553 #4E387D #684BA7 #8970BF #AC9BD2

Accessibility & contrast

On white

6.66
#684BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#684BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684BA7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684BA7#FFFFFF#000000##FFFFFF
##684BA71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#2A5BA5
Tritanopia (blue-blind)
#595E72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #684ba7;
/* rgb */ color: rgb(104, 75, 167);
/* oklch */ color: oklch(49.0% 0.142 295.2);
Tailwind
colors: {
  custom: {
    50: '#977ec2',
    500: '#684ba7',
    950: '#000000',
  },
}
SCSS
$custom: #684ba7;
$custom-light: #977ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#684ba7",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 258.913,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.1424,
    "h": 295.2
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#684BA7
secondary
#B0BE8F
accent
#CE5AA9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #684BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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