#654A96#654A96

#654A96 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.4% C 0.121 H 298.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#654A96
RGBrgb(101, 74, 150)
HSLhsl(261, 34%, 44%)
HSVhsv(261, 51%, 59%)
CMYKcmyk(32.7%, 50.7%, 0%, 41.2%)
CIE-LABlab(37.60, 28.67, -37.80)
CIE-LCHlch(37.60, 47.44, 307.18°)
OKLaboklab(47.39% 0.0567 -0.1065)
OKLCHoklch(47.39% 0.121 298)
XYZxyz(13.3193, 9.8661, 30.0509)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654A96 #7B964A
analogous
#4A5596 #654A96 #8B4A96
triadic
#654A96 #96654A #4A9665
tetradic
#654A96 #964A55 #7B964A #4A968B
square
#654A96 #964A55 #7B964A #4A968B
split-complementary
#654A96 #968B4A #55964A
monochromatic
#2E2244 #49366D #654A96 #8468B5 #A591C9

Accessibility & contrast

On white

7.06
#654A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#654A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654A96
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654A96#FFFFFF#000000##FFFFFF
##654A961.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#365894
Tritanopia (blue-blind)
#5B5869
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #654a96;
/* rgb */ color: rgb(101, 74, 150);
/* oklch */ color: oklch(47.4% 0.121 298.0);
Tailwind
colors: {
  custom: {
    50: '#937db5',
    500: '#654a96',
    950: '#000000',
  },
}
SCSS
$custom: #654a96;
$custom-light: #937db5;
$custom-dark: #000000;
JSON
{
  "hex": "#654a96",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 261.316,
    "s": 33.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.12069,
    "h": 298
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#654A96
secondary
#A5B587
accent
#CA5EA4
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654A96

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

Preview Lab → · Contrast checker → · Palette generator →

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