#654B97#654B97

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

Color values

HEX#654B97
RGBrgb(101, 75, 151)
HSLhsl(261, 34%, 44%)
HSVhsv(261, 50%, 59%)
CMYKcmyk(33.1%, 50.3%, 0%, 40.8%)
CIE-LABlab(37.90, 28.33, -37.93)
CIE-LCHlch(37.90, 47.34, 306.76°)
OKLaboklab(47.63% 0.0554 -0.1069)
OKLCHoklch(47.63% 0.12 297.4)
XYZxyz(13.4675, 10.0331, 30.4992)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654B97 #7D974B
analogous
#4B5797 #654B97 #8B4B97
triadic
#654B97 #97654B #4B9765
tetradic
#654B97 #974B57 #7D974B #4B978B
square
#654B97 #974B57 #7D974B #4B978B
split-complementary
#654B97 #978B4B #57974B
monochromatic
#2E2245 #4A376E #654B97 #846AB5 #A693C9

Accessibility & contrast

On white

6.98
#654B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#654B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654B97
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654B97#FFFFFF#000000##FFFFFF
##654B971.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#5A596A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654b97;
/* rgb */ color: rgb(101, 75, 151);
/* oklch */ color: oklch(47.6% 0.120 297.4);
Tailwind
colors: {
  custom: {
    50: '#937eb6',
    500: '#654b97',
    950: '#000000',
  },
}
SCSS
$custom: #654b97;
$custom-light: #937eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#654b97",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 260.526,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.12041,
    "h": 297.4
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#654B97
secondary
#A6B688
accent
#CA5EA5
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #654B97

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

Preview Lab → · Contrast checker → · Palette generator →

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