#684B97#684B97

#684B97 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 47.9% C 0.121 H 299.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#684B97
RGBrgb(104, 75, 151)
HSLhsl(263, 34%, 44%)
HSVhsv(263, 50%, 59%)
CMYKcmyk(31.1%, 50.3%, 0%, 40.8%)
CIE-LABlab(38.22, 29.17, -37.41)
CIE-LCHlch(38.22, 47.43, 307.94°)
OKLaboklab(47.94% 0.0594 -0.1053)
OKLCHoklch(47.94% 0.121 299.4)
XYZxyz(13.8096, 10.2095, 30.5152)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#684B97 #7A974B
analogous
#4B5497 #684B97 #8E4B97
triadic
#684B97 #97684B #4B9768
tetradic
#684B97 #974B54 #7A974B #4B978E
square
#684B97 #974B54 #7A974B #4B978E
split-complementary
#684B97 #978E4B #54974B
monochromatic
#302245 #4C376E #684B97 #876AB5 #A893C9

Accessibility & contrast

On white

6.90
#684B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#684B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #684B97
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##684B97#FFFFFF#000000##FFFFFF
##684B971.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#5E596A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #684b97;
/* rgb */ color: rgb(104, 75, 151);
/* oklch */ color: oklch(47.9% 0.121 299.4);
Tailwind
colors: {
  custom: {
    50: '#957eb6',
    500: '#684b97',
    950: '#000000',
  },
}
SCSS
$custom: #684b97;
$custom-light: #957eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#684b97",
  "rgb": {
    "r": 104,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 262.895,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.12089,
    "h": 299.4
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#684B97
secondary
#A4B688
accent
#CA5EA1
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #684B97

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

Preview Lab → · Contrast checker → · Palette generator →

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