#654F8D#654F8D

#654F8D is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.8% C 0.100 H 298.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#654F8D
RGBrgb(101, 79, 141)
HSLhsl(261, 28%, 43%)
HSVhsv(261, 44%, 55%)
CMYKcmyk(28.4%, 44%, 0%, 44.7%)
CIE-LABlab(38.34, 23.17, -31.17)
CIE-LCHlch(38.34, 38.84, 306.63°)
OKLaboklab(47.78% 0.0482 -0.0872)
OKLCHoklch(47.78% 0.1 298.9)
XYZxyz(12.9694, 10.2817, 26.4954)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654F8D #778D4F
analogous
#4F588D #654F8D #844F8D
triadic
#654F8D #8D654F #4F8D65
tetradic
#654F8D #8D4F58 #778D4F #4F8D84
square
#654F8D #8D4F58 #778D4F #4F8D84
split-complementary
#654F8D #8D844F #588D4F
monochromatic
#2D233F #493966 #654F8D #836CAD #A494C3

Accessibility & contrast

On white

6.87
#654F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#654F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654F8D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654F8D#FFFFFF#000000##FFFFFF
##654F8D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#5D5A67
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #654f8d;
/* rgb */ color: rgb(101, 79, 141);
/* oklch */ color: oklch(47.8% 0.100 298.9);
Tailwind
colors: {
  custom: {
    50: '#9280ae',
    500: '#654f8d',
    950: '#000000',
  },
}
SCSS
$custom: #654f8d;
$custom-light: #9280ae;
$custom-dark: #000000;
JSON
{
  "hex": "#654f8d",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 261.29,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.09964,
    "h": 298.9
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#654F8D
secondary
#A2AF88
accent
#C463A2
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #654F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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