#654AC7#654AC7

#654AC7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.185 H 287.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#654AC7
RGBrgb(101, 74, 199)
HSLhsl(253, 53%, 54%)
HSVhsv(253, 63%, 78%)
CMYKcmyk(49.2%, 62.8%, 0%, 22%)
CIE-LABlab(40.88, 42.62, -61.55)
CIE-LCHlch(40.88, 74.87, 304.70°)
OKLaboklab(50.84% 0.0569 -0.1763)
OKLCHoklch(50.84% 0.185 287.9)
XYZxyz(18.1214, 11.7870, 55.3420)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AC7 #ACC74A
analogous
#4A6DC7 #654AC7 #A34AC7
triadic
#654AC7 #C7654A #4AC765
tetradic
#654AC7 #C74A6D #ACC74A #4AC7A3
square
#654AC7 #C74A6D #ACC74A #4AC7A3
split-complementary
#654AC7 #C7A34A #6DC74A
monochromatic
#352473 #4A32A2 #654AC7 #8D79D5 #B5A7E4

Accessibility & contrast

On white

6.25
#654AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#654AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AC7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AC7#FFFFFF#000000##FFFFFF
##654AC71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#436882
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654ac7;
/* rgb */ color: rgb(101, 74, 199);
/* oklch */ color: oklch(50.8% 0.185 287.9);
Tailwind
colors: {
  custom: {
    50: '#997ed9',
    500: '#654ac7',
    950: '#000000',
  },
}
SCSS
$custom: #654ac7;
$custom-light: #997ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#654ac7",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 252.96,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.18523,
    "h": 287.9
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#654AC7
secondary
#C6D19C
accent
#DC4CBD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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