#654CA4#654CA4

#654CA4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.6% C 0.137 H 293.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#654CA4
RGBrgb(101, 76, 164)
HSLhsl(257, 37%, 47%)
HSVhsv(257, 54%, 64%)
CMYKcmyk(38.4%, 53.7%, 0%, 35.7%)
CIE-LABlab(38.93, 31.34, -44.10)
CIE-LCHlch(38.93, 54.10, 305.40°)
OKLaboklab(48.64% 0.0551 -0.125)
OKLCHoklch(48.64% 0.137 293.8)
XYZxyz(14.6504, 10.6156, 36.3919)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CA4 #8BA44C
analogous
#4C5FA4 #654CA4 #914CA4
triadic
#654CA4 #A4654C #4CA465
tetradic
#654CA4 #A44C5F #8BA44C #4CA491
square
#654CA4 #A44C5F #8BA44C #4CA491
split-complementary
#654CA4 #A4914C #5FA44C
monochromatic
#312550 #4B397A #654CA4 #8670BD #AA9AD0

Accessibility & contrast

On white

6.72
#654CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#654CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CA4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CA4#FFFFFF#000000##FFFFFF
##654CA41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA7
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#555E70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654ca4;
/* rgb */ color: rgb(101, 76, 164);
/* oklch */ color: oklch(48.6% 0.137 293.8);
Tailwind
colors: {
  custom: {
    50: '#947fbf',
    500: '#654ca4',
    950: '#000000',
  },
}
SCSS
$custom: #654ca4;
$custom-light: #947fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#654ca4",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 257.045,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.13659,
    "h": 293.8
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#654CA4
secondary
#B0BD8F
accent
#CD5BAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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