#654CAC#654CAC

#654CAC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.2% C 0.147 H 292.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#654CAC
RGBrgb(101, 76, 172)
HSLhsl(256, 39%, 49%)
HSVhsv(256, 56%, 67%)
CMYKcmyk(41.3%, 55.8%, 0%, 32.5%)
CIE-LABlab(39.43, 33.61, -48.04)
CIE-LCHlch(39.43, 58.63, 304.98°)
OKLaboklab(49.19% 0.0555 -0.1365)
OKLCHoklch(49.19% 0.147 292.1)
XYZxyz(15.3956, 10.9137, 40.3171)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CAC #93AC4C
analogous
#4C63AC #654CAC #954CAC
triadic
#654CAC #AC654C #4CAC65
tetradic
#654CAC #AC4C63 #93AC4C #4CAC95
square
#654CAC #AC4C63 #93AC4C #4CAC95
split-complementary
#654CAC #AC954C #63AC4C
monochromatic
#332657 #4C3982 #654CAC #8874C1 #AC9ED4

Accessibility & contrast

On white

6.60
#654CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#654CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CAC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CAC#FFFFFF#000000##FFFFFF
##654CAC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#225BAA
Tritanopia (blue-blind)
#526074
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654cac;
/* rgb */ color: rgb(101, 76, 172);
/* oklch */ color: oklch(49.2% 0.147 292.1);
Tailwind
colors: {
  custom: {
    50: '#957fc5',
    500: '#654cac',
    950: '#000000',
  },
}
SCSS
$custom: #654cac;
$custom-light: #957fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#654cac",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 255.625,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.14738,
    "h": 292.1
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#654CAC
secondary
#B5C193
accent
#CF59B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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