#654CB9#654CB9

#654CB9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.165 H 289.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#654CB9
RGBrgb(101, 76, 185)
HSLhsl(254, 44%, 51%)
HSVhsv(254, 59%, 73%)
CMYKcmyk(45.4%, 58.9%, 0%, 27.5%)
CIE-LABlab(40.31, 37.37, -54.30)
CIE-LCHlch(40.31, 65.92, 304.54°)
OKLaboklab(50.11% 0.0554 -0.1549)
OKLCHoklch(50.11% 0.165 289.7)
XYZxyz(16.7058, 11.4378, 47.2170)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB9 #A0B94C
analogous
#4C69B9 #654CB9 #9B4CB9
triadic
#654CB9 #B9654C #4CB965
tetradic
#654CB9 #B94C69 #A0B94C #4CB99B
square
#654CB9 #B94C69 #A0B94C #4CB99B
split-complementary
#654CB9 #B99B4C #69B94C
monochromatic
#352764 #4C3890 #654CB9 #8B78CA #B1A4DB

Accessibility & contrast

On white

6.39
#654CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#654CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CB9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB9#FFFFFF#000000##FFFFFF
##654CB91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#4B647B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654cb9;
/* rgb */ color: rgb(101, 76, 185);
/* oklch */ color: oklch(50.1% 0.165 289.7);
Tailwind
colors: {
  custom: {
    50: '#977fcf',
    500: '#654cb9',
    950: '#000000',
  },
}
SCSS
$custom: #654cb9;
$custom-light: #977fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb9",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 253.761,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.16457,
    "h": 289.7
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#654CB9
secondary
#BDC898
accent
#D454B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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