#654D9C#654D9C

#654D9C is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.3% C 0.124 H 295.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#654D9C
RGBrgb(101, 77, 156)
HSLhsl(258, 34%, 46%)
HSVhsv(258, 51%, 61%)
CMYKcmyk(35.3%, 50.6%, 0%, 38.8%)
CIE-LABlab(38.68, 28.49, -39.70)
CIE-LCHlch(38.68, 48.86, 305.67°)
OKLaboklab(48.31% 0.0532 -0.1121)
OKLCHoklch(48.31% 0.124 295.4)
XYZxyz(14.0199, 10.4745, 32.7292)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654D9C #849C4D
analogous
#4D5C9C #654D9C #8C4D9C
triadic
#654D9C #9C654D #4D9C65
tetradic
#654D9C #9C4D5C #849C4D #4D9C8C
square
#654D9C #9C4D5C #849C4D #4D9C8C
split-complementary
#654D9C #9C8C4D #5C9C4D
monochromatic
#30254A #4A3973 #654D9C #856FB8 #A797CC

Accessibility & contrast

On white

6.79
#654D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#654D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654D9C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654D9C#FFFFFF#000000##FFFFFF
##654D9C1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#355A9A
Tritanopia (blue-blind)
#585C6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654d9c;
/* rgb */ color: rgb(101, 77, 156);
/* oklch */ color: oklch(48.3% 0.124 295.4);
Tailwind
colors: {
  custom: {
    50: '#947fba',
    500: '#654d9c',
    950: '#000000',
  },
}
SCSS
$custom: #654d9c;
$custom-light: #947fba;
$custom-dark: #000000;
JSON
{
  "hex": "#654d9c",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 258.228,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.12404,
    "h": 295.4
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#654D9C
secondary
#ABB88C
accent
#CA5EA9
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #654D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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