#654C8A#654C8A

#654C8A is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.0% C 0.101 H 301.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#654C8A
RGBrgb(101, 76, 138)
HSLhsl(264, 29%, 42%)
HSVhsv(264, 45%, 54%)
CMYKcmyk(26.8%, 44.9%, 0%, 45.9%)
CIE-LABlab(37.43, 24.23, -30.78)
CIE-LCHlch(37.43, 39.18, 308.21°)
OKLaboklab(47.04% 0.0522 -0.0861)
OKLCHoklch(47.04% 0.101 301.2)
XYZxyz(12.5377, 9.7705, 25.2652)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C8A #718A4C
analogous
#4C528A #654C8A #844C8A
triadic
#654C8A #8A654C #4C8A65
tetradic
#654C8A #8A4C52 #718A4C #4C8A84
square
#654C8A #8A4C52 #718A4C #4C8A84
split-complementary
#654C8A #8A844C #528A4C
monochromatic
#2B213B #483663 #654C8A #8368AC #A38FC1

Accessibility & contrast

On white

7.11
#654C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#654C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654C8A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C8A#FFFFFF#000000##FFFFFF
##654C8A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#5E5764
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #654c8a;
/* rgb */ color: rgb(101, 76, 138);
/* oklch */ color: oklch(47.0% 0.101 301.2);
Tailwind
colors: {
  custom: {
    50: '#927eac',
    500: '#654c8a',
    950: '#000000',
  },
}
SCSS
$custom: #654c8a;
$custom-light: #927eac;
$custom-dark: #000000;
JSON
{
  "hex": "#654c8a",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 264.194,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.10064,
    "h": 301.2
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#654C8A
secondary
#9DAE84
accent
#C5639D
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #654C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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