#654D8A#654D8A

#654D8A is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.2% C 0.099 H 300.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#654D8A
RGBrgb(101, 77, 138)
HSLhsl(264, 28%, 42%)
HSVhsv(264, 44%, 54%)
CMYKcmyk(26.8%, 44.2%, 0%, 45.9%)
CIE-LABlab(37.68, 23.62, -30.39)
CIE-LCHlch(37.68, 38.49, 307.86°)
OKLaboklab(47.23% 0.0507 -0.0849)
OKLCHoklch(47.23% 0.099 300.8)
XYZxyz(12.6071, 9.9094, 25.2883)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654D8A #728A4D
analogous
#4D538A #654D8A #844D8A
triadic
#654D8A #8A654D #4D8A65
tetradic
#654D8A #8A4D53 #728A4D #4D8A84
square
#654D8A #8A4D53 #728A4D #4D8A84
split-complementary
#654D8A #8A844D #538A4D
monochromatic
#2C213B #483763 #654D8A #8369AB #A390C1

Accessibility & contrast

On white

7.04
#654D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#654D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654D8A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654D8A#FFFFFF#000000##FFFFFF
##654D8A1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#5E5765
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654d8a;
/* rgb */ color: rgb(101, 77, 138);
/* oklch */ color: oklch(47.2% 0.099 300.8);
Tailwind
colors: {
  custom: {
    50: '#927fac',
    500: '#654d8a',
    950: '#000000',
  },
}
SCSS
$custom: #654d8a;
$custom-light: #927fac;
$custom-dark: #000000;
JSON
{
  "hex": "#654d8a",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 263.607,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.09888,
    "h": 300.8
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#654D8A
secondary
#9EAE85
accent
#C5639E
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #654D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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