#654C7B#654C7B

#654C7B is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.2% C 0.080 H 308.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#654C7B
RGBrgb(101, 76, 123)
HSLhsl(272, 24%, 39%)
HSVhsv(272, 38%, 48%)
CMYKcmyk(17.9%, 38.2%, 0%, 51.8%)
CIE-LABlab(36.68, 20.42, -22.74)
CIE-LCHlch(36.68, 30.56, 311.92°)
OKLaboklab(46.23% 0.049 -0.0628)
OKLCHoklch(46.23% 0.08 308)
XYZxyz(11.5257, 9.3658, 19.9356)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C7B #627B4C
analogous
#4E4C7B #654C7B #7B4C7A
triadic
#654C7B #7B654C #4C7B65
tetradic
#654C7B #7B4E4C #627B4C #4C7A7B
square
#654C7B #7B4E4C #627B4C #4C7A7B
split-complementary
#654C7B #7A7B4C #4C7B4E
monochromatic
#271D2F #463555 #654C7B #8465A0 #A28AB7

Accessibility & contrast

On white

7.31
#654C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#654C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654C7B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C7B#FFFFFF#000000##FFFFFF
##654C7B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557D
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#62535E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #654c7b;
/* rgb */ color: rgb(101, 76, 123);
/* oklch */ color: oklch(46.2% 0.080 308.0);
Tailwind
colors: {
  custom: {
    50: '#927ea1',
    500: '#654c7b',
    950: '#000000',
  },
}
SCSS
$custom: #654c7b;
$custom-light: #927ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#654c7b",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 271.915,
    "s": 23.618,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.0797,
    "h": 308
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#654C7B
secondary
#90A47F
accent
#C06891
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0F
muted
#7E7C7E

Preview Lab

Preview with #654C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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