#654C92#654C92

#654C92 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.5% C 0.112 H 298.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#654C92
RGBrgb(101, 76, 146)
HSLhsl(261, 32%, 44%)
HSVhsv(261, 48%, 57%)
CMYKcmyk(30.8%, 47.9%, 0%, 42.7%)
CIE-LABlab(37.86, 26.36, -34.96)
CIE-LCHlch(37.86, 43.79, 307.02°)
OKLaboklab(47.51% 0.0534 -0.0982)
OKLCHoklch(47.51% 0.112 298.5)
XYZxyz(13.1383, 10.0108, 28.4286)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654C92 #79924C
analogous
#4C5692 #654C92 #884C92
triadic
#654C92 #92654C #4C9265
tetradic
#654C92 #924C56 #79924C #4C9288
square
#654C92 #924C56 #79924C #4C9288
split-complementary
#654C92 #92884C #56924C
monochromatic
#2D2242 #49376A #654C92 #836AB1 #A592C6

Accessibility & contrast

On white

6.99
#654C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#654C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654C92
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654C92#FFFFFF#000000##FFFFFF
##654C921.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#3C5890
Tritanopia (blue-blind)
#5C5968
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #654c92;
/* rgb */ color: rgb(101, 76, 146);
/* oklch */ color: oklch(47.5% 0.112 298.5);
Tailwind
colors: {
  custom: {
    50: '#937eb2',
    500: '#654c92',
    950: '#000000',
  },
}
SCSS
$custom: #654c92;
$custom-light: #937eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#654c92",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 261.429,
    "s": 31.532,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.11182,
    "h": 298.5
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#654C92
secondary
#A3B387
accent
#C860A3
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #654C92

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

Preview Lab → · Contrast checker → · Palette generator →

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