#654C99#654C99

#654C99 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 47.9% C 0.122 H 296.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#654C99
RGBrgb(101, 76, 153)
HSLhsl(259, 34%, 45%)
HSVhsv(259, 50%, 60%)
CMYKcmyk(34%, 50.3%, 0%, 40%)
CIE-LABlab(38.26, 28.27, -38.56)
CIE-LCHlch(38.26, 47.81, 306.25°)
OKLaboklab(47.94% 0.0543 -0.1087)
OKLCHoklch(47.94% 0.122 296.5)
XYZxyz(13.6996, 10.2353, 31.3847)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C99 #80994C
analogous
#4C5999 #654C99 #8C4C99
triadic
#654C99 #99654C #4C9965
tetradic
#654C99 #994C59 #80994C #4C998C
square
#654C99 #994C59 #80994C #4C998C
split-complementary
#654C99 #998C4C #59994C
monochromatic
#2F2347 #4A3870 #654C99 #846CB6 #A695CA

Accessibility & contrast

On white

6.89
#654C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#654C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654C99
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C99#FFFFFF#000000##FFFFFF
##654C991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#595B6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #654c99;
/* rgb */ color: rgb(101, 76, 153);
/* oklch */ color: oklch(47.9% 0.122 296.5);
Tailwind
colors: {
  custom: {
    50: '#937eb7',
    500: '#654c99',
    950: '#000000',
  },
}
SCSS
$custom: #654c99;
$custom-light: #937eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#654c99",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 259.481,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.12153,
    "h": 296.5
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#654C99
secondary
#A8B78A
accent
#CA5EA7
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #654C99

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

Preview Lab → · Contrast checker → · Palette generator →

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