#654F99#654F99

#654F99 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.5% C 0.117 H 295.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#654F99
RGBrgb(101, 79, 153)
HSLhsl(258, 32%, 45%)
HSVhsv(258, 48%, 60%)
CMYKcmyk(34%, 48.4%, 0%, 40%)
CIE-LABlab(39.00, 26.43, -37.39)
CIE-LCHlch(39.00, 45.79, 305.26°)
OKLaboklab(48.49% 0.0501 -0.1053)
OKLCHoklch(48.49% 0.117 295.4)
XYZxyz(13.9111, 10.6584, 31.4552)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654F99 #83994F
analogous
#4F5E99 #654F99 #8A4F99
triadic
#654F99 #99654F #4F9965
tetradic
#654F99 #994F5E #83994F #4F998A
square
#654F99 #994F5E #83994F #4F998A
split-complementary
#654F99 #998A4F #5E994F
monochromatic
#302548 #4A3A71 #654F99 #8570B5 #A798CA

Accessibility & contrast

On white

6.71
#654F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#654F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654F99
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654F99#FFFFFF#000000##FFFFFF
##654F991.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#595D6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654f99;
/* rgb */ color: rgb(101, 79, 153);
/* oklch */ color: oklch(48.5% 0.117 295.4);
Tailwind
colors: {
  custom: {
    50: '#9381b7',
    500: '#654f99',
    950: '#000000',
  },
}
SCSS
$custom: #654f99;
$custom-light: #9381b7;
$custom-dark: #000000;
JSON
{
  "hex": "#654f99",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 257.838,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.1166,
    "h": 295.4
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#654F99
secondary
#AAB78D
accent
#C860A9
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #654F99

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

Preview Lab → · Contrast checker → · Palette generator →

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