#654A97#654A97

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

Color values

HEX#654A97
RGBrgb(101, 74, 151)
HSLhsl(261, 34%, 44%)
HSVhsv(261, 51%, 59%)
CMYKcmyk(33.1%, 51%, 0%, 40.8%)
CIE-LABlab(37.66, 28.94, -38.31)
CIE-LCHlch(37.66, 48.01, 307.07°)
OKLaboklab(47.45% 0.0568 -0.108)
OKLCHoklch(47.45% 0.122 297.8)
XYZxyz(13.4002, 9.8985, 30.4768)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654A97 #7C974A
analogous
#4A5697 #654A97 #8C4A97
triadic
#654A97 #97654A #4A9765
tetradic
#654A97 #974A56 #7C974A #4A978C
square
#654A97 #974A56 #7C974A #4A978C
split-complementary
#654A97 #978C4A #56974A
monochromatic
#2E2245 #4A366E #654A97 #8469B5 #A592CA

Accessibility & contrast

On white

7.05
#654A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#654A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654A97
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654A97#FFFFFF#000000##FFFFFF
##654A971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#355895
Tritanopia (blue-blind)
#5A5969
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654a97;
/* rgb */ color: rgb(101, 74, 151);
/* oklch */ color: oklch(47.4% 0.122 297.8);
Tailwind
colors: {
  custom: {
    50: '#937db6',
    500: '#654a97',
    950: '#000000',
  },
}
SCSS
$custom: #654a97;
$custom-light: #937db6;
$custom-dark: #000000;
JSON
{
  "hex": "#654a97",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 261.039,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.12205,
    "h": 297.8
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#654A97
secondary
#A5B687
accent
#CA5DA4
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #654A97

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

Preview Lab → · Contrast checker → · Palette generator →

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