#654AA4#654AA4

#654AA4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.3% C 0.140 H 294.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#654AA4
RGBrgb(101, 74, 164)
HSLhsl(258, 38%, 47%)
HSVhsv(258, 55%, 64%)
CMYKcmyk(38.4%, 54.9%, 0%, 35.7%)
CIE-LABlab(38.45, 32.54, -44.85)
CIE-LCHlch(38.45, 55.42, 305.96°)
OKLaboklab(48.29% 0.0577 -0.1272)
OKLCHoklch(48.29% 0.14 294.4)
XYZxyz(14.5147, 10.3443, 36.3467)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AA4 #89A44A
analogous
#4A5CA4 #654AA4 #924AA4
triadic
#654AA4 #A4654A #4AA465
tetradic
#654AA4 #A44A5C #89A44A #4AA492
square
#654AA4 #A44A5C #89A44A #4AA492
split-complementary
#654AA4 #A4924A #5CA44A
monochromatic
#312450 #4B377A #654AA4 #866EBD #A998D0

Accessibility & contrast

On white

6.84
#654AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#654AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AA4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AA4#FFFFFF#000000##FFFFFF
##654AA41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA7
Deuteranopia (green-blind)
#2959A2
Tritanopia (blue-blind)
#555D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654aa4;
/* rgb */ color: rgb(101, 74, 164);
/* oklch */ color: oklch(48.3% 0.140 294.4);
Tailwind
colors: {
  custom: {
    50: '#957dbf',
    500: '#654aa4',
    950: '#000000',
  },
}
SCSS
$custom: #654aa4;
$custom-light: #957dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#654aa4",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 258,
    "s": 37.815,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.13968,
    "h": 294.4
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#654AA4
secondary
#AEBD8D
accent
#CE5AAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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