#654C79#654C79

#654C79 is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.1% C 0.077 H 309.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#654C79
RGBrgb(101, 76, 121)
HSLhsl(273, 23%, 39%)
HSVhsv(273, 37%, 47%)
CMYKcmyk(16.5%, 37.2%, 0%, 52.5%)
CIE-LABlab(36.59, 19.93, -21.65)
CIE-LCHlch(36.59, 29.43, 312.63°)
OKLaboklab(46.13% 0.0485 -0.0597)
OKLCHoklch(46.13% 0.077 309.1)
XYZxyz(11.4018, 9.3162, 19.2830)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C79 #60794C
analogous
#4E4C79 #654C79 #794C76
triadic
#654C79 #79654C #4C7965
tetradic
#654C79 #794E4C #60794C #4C7679
square
#654C79 #794E4C #60794C #4C7679
split-complementary
#654C79 #76794C #4C794E
monochromatic
#261D2E #463453 #654C79 #84649E #A28AB5

Accessibility & contrast

On white

7.33
#654C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#654C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654C79
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C79#FFFFFF#000000##FFFFFF
##654C791.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#495678
Tritanopia (blue-blind)
#63525D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #654c79;
/* rgb */ color: rgb(101, 76, 121);
/* oklch */ color: oklch(46.1% 0.077 309.1);
Tailwind
colors: {
  custom: {
    50: '#917ea0',
    500: '#654c79',
    950: '#000000',
  },
}
SCSS
$custom: #654c79;
$custom-light: #917ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#654c79",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 121
  },
  "hsl": {
    "h": 273.333,
    "s": 22.843,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.07694,
    "h": 309.1
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#654C79
secondary
#8EA27F
accent
#BF688F
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #654C79

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

Preview Lab → · Contrast checker → · Palette generator →

#654C79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva