#654A99#654A99

#654A99 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.6% C 0.125 H 297.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#654A99
RGBrgb(101, 74, 153)
HSLhsl(261, 35%, 45%)
HSVhsv(261, 52%, 60%)
CMYKcmyk(34%, 51.6%, 0%, 40%)
CIE-LABlab(37.78, 29.49, -39.33)
CIE-LCHlch(37.78, 49.16, 306.86°)
OKLaboklab(47.57% 0.057 -0.111)
OKLCHoklch(47.57% 0.125 297.2)
XYZxyz(13.5640, 9.9640, 31.3394)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654A99 #7E994A
analogous
#4A5799 #654A99 #8D4A99
triadic
#654A99 #99654A #4A9965
tetradic
#654A99 #994A57 #7E994A #4A998D
square
#654A99 #994A57 #7E994A #4A998D
split-complementary
#654A99 #998D4A #57994A
monochromatic
#2F2247 #4A3670 #654A99 #846AB7 #A693CB

Accessibility & contrast

On white

7.02
#654A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#654A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654A99
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654A99#FFFFFF#000000##FFFFFF
##654A991.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#5A596A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654a99;
/* rgb */ color: rgb(101, 74, 153);
/* oklch */ color: oklch(47.6% 0.125 297.2);
Tailwind
colors: {
  custom: {
    50: '#947db7',
    500: '#654a99',
    950: '#000000',
  },
}
SCSS
$custom: #654a99;
$custom-light: #947db7;
$custom-dark: #000000;
JSON
{
  "hex": "#654a99",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 260.506,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.12479,
    "h": 297.2
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#654A99
secondary
#A7B788
accent
#CB5DA5
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654A99

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

Preview Lab → · Contrast checker → · Palette generator →

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