#685E87#685E87

#685E87 is a mid, moderate violet. Relative luminance 0.127; OKLCH L 50.8% C 0.065 H 295.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#685E87
RGBrgb(104, 94, 135)
HSLhsl(255, 18%, 45%)
HSVhsv(255, 30%, 53%)
CMYKcmyk(23%, 30.4%, 0%, 47.1%)
CIE-LABlab(42.30, 13.27, -21.33)
CIE-LCHlch(42.30, 25.12, 301.89°)
OKLaboklab(50.77% 0.0277 -0.0588)
OKLCHoklch(50.77% 0.065 295.2)
XYZxyz(14.0838, 12.6976, 24.6259)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685E87 #7D875E
analogous
#5E6987 #685E87 #7D5E87
triadic
#685E87 #87685E #5E8768
tetradic
#685E87 #875E69 #7D875E #5E877D
square
#685E87 #875E69 #7D875E #5E877D
split-complementary
#685E87 #877D5E #69875E
monochromatic
#302C3F #4C4563 #685E87 #877DA5 #A8A2BE

Accessibility & contrast

On white

5.93
#685E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#685E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685E87
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685E87#FFFFFF#000000##FFFFFF
##685E871.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#566386
Tritanopia (blue-blind)
#62656D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #685e87;
/* rgb */ color: rgb(104, 94, 135);
/* oklch */ color: oklch(50.8% 0.065 295.2);
Tailwind
colors: {
  custom: {
    50: '#948baa',
    500: '#685e87',
    950: '#000000',
  },
}
SCSS
$custom: #685e87;
$custom-light: #948baa;
$custom-dark: #000000;
JSON
{
  "hex": "#685e87",
  "rgb": {
    "r": 104,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 254.634,
    "s": 17.904,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.06502,
    "h": 295.2
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#685E87
secondary
#A6AC95
accent
#BB6DA8
background
#F9F8FA
surface
#F1F0F4
border
#CBCBCE
text
#0D0C10
muted
#7E7D7F

Preview Lab

Preview with #685E87

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

Preview Lab → · Contrast checker → · Palette generator →

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