#654AA6#654AA6

#654AA6 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.142 H 294.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#654AA6
RGBrgb(101, 74, 166)
HSLhsl(258, 38%, 47%)
HSVhsv(258, 55%, 65%)
CMYKcmyk(39.2%, 55.4%, 0%, 34.9%)
CIE-LABlab(38.58, 33.11, -45.84)
CIE-LCHlch(38.58, 56.55, 305.83°)
OKLaboklab(48.43% 0.0578 -0.1301)
OKLCHoklch(48.43% 0.142 294)
XYZxyz(14.6967, 10.4171, 37.3054)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AA6 #8BA64A
analogous
#4A5DA6 #654AA6 #934AA6
triadic
#654AA6 #A6654A #4AA665
tetradic
#654AA6 #A64A5D #8BA64A #4AA693
square
#654AA6 #A64A5D #8BA64A #4AA693
split-complementary
#654AA6 #A6934A #5DA64A
monochromatic
#312451 #4B377C #654AA6 #866FBF #AA99D1

Accessibility & contrast

On white

6.81
#654AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#654AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AA6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AA6#FFFFFF#000000##FFFFFF
##654AA61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#555D71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654aa6;
/* rgb */ color: rgb(101, 74, 166);
/* oklch */ color: oklch(48.4% 0.142 294.0);
Tailwind
colors: {
  custom: {
    50: '#957dc1',
    500: '#654aa6',
    950: '#000000',
  },
}
SCSS
$custom: #654aa6;
$custom-light: #957dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#654aa6",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 257.609,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.14237,
    "h": 294
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#654AA6
secondary
#B0BE8E
accent
#CE5AAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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