#685A97#685A97

#685A97 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 50.8% C 0.096 H 293.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#685A97
RGBrgb(104, 90, 151)
HSLhsl(254, 25%, 47%)
HSVhsv(254, 40%, 59%)
CMYKcmyk(31.1%, 40.4%, 0%, 40.8%)
CIE-LABlab(41.98, 19.97, -31.45)
CIE-LCHlch(41.98, 37.26, 302.41°)
OKLaboklab(50.78% 0.0378 -0.088)
OKLCHoklch(50.78% 0.096 293.2)
XYZxyz(14.9496, 12.4895, 30.8952)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685A97 #89975A
analogous
#5A6B97 #685A97 #865A97
triadic
#685A97 #97685A #5A9768
tetradic
#685A97 #975A6B #89975A #5A9786
square
#685A97 #975A6B #89975A #5A9786
split-complementary
#685A97 #97865A #6B975A
monochromatic
#332C4A #4E4371 #685A97 #897DB1 #ACA3C8

Accessibility & contrast

On white

6.00
#685A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#685A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685A97
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685A97#FFFFFF#000000##FFFFFF
##685A971.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486499
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#5D6571
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #685a97;
/* rgb */ color: rgb(104, 90, 151);
/* oklch */ color: oklch(50.8% 0.096 293.2);
Tailwind
colors: {
  custom: {
    50: '#9588b6',
    500: '#685a97',
    950: '#000000',
  },
}
SCSS
$custom: #685a97;
$custom-light: #9588b6;
$custom-dark: #000000;
JSON
{
  "hex": "#685a97",
  "rgb": {
    "r": 104,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 253.77,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.09572,
    "h": 293.2
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#685A97
secondary
#AFB697
accent
#C266AD
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #685A97

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

Preview Lab → · Contrast checker → · Palette generator →

#685A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva