#654C96#654C96

#654C96 is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.7% C 0.117 H 297.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#654C96
RGBrgb(101, 76, 150)
HSLhsl(260, 33%, 44%)
HSVhsv(260, 49%, 59%)
CMYKcmyk(32.7%, 49.3%, 0%, 41.2%)
CIE-LABlab(38.09, 27.45, -37.03)
CIE-LCHlch(38.09, 46.09, 306.55°)
OKLaboklab(47.75% 0.0539 -0.1042)
OKLCHoklch(47.75% 0.117 297.4)
XYZxyz(13.4549, 10.1374, 30.0961)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C96 #7D964C
analogous
#4C5896 #654C96 #8A4C96
triadic
#654C96 #96654C #4C9665
tetradic
#654C96 #964C58 #7D964C #4C968A
square
#654C96 #964C58 #7D964C #4C968A
split-complementary
#654C96 #968A4C #58964C
monochromatic
#2E2345 #4A376D #654C96 #846BB4 #A694C9

Accessibility & contrast

On white

6.94
#654C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#654C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654C96
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C96#FFFFFF#000000##FFFFFF
##654C961.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#5A5A6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #654c96;
/* rgb */ color: rgb(101, 76, 150);
/* oklch */ color: oklch(47.7% 0.117 297.4);
Tailwind
colors: {
  custom: {
    50: '#937eb5',
    500: '#654c96',
    950: '#000000',
  },
}
SCSS
$custom: #654c96;
$custom-light: #937eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#654c96",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 260.27,
    "s": 32.743,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.11737,
    "h": 297.4
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#654C96
secondary
#A6B589
accent
#C95FA5
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #654C96

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

Preview Lab → · Contrast checker → · Palette generator →

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