#654AD5#654AD5

#654AD5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.0% C 0.203 H 285.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#654AD5
RGBrgb(101, 74, 213)
HSLhsl(252, 62%, 56%)
HSVhsv(252, 65%, 84%)
CMYKcmyk(52.6%, 65.3%, 0%, 16.5%)
CIE-LABlab(41.95, 46.73, -67.88)
CIE-LCHlch(41.95, 82.41, 304.54°)
OKLaboklab(51.96% 0.0555 -0.1949)
OKLCHoklch(51.96% 0.203 285.9)
XYZxyz(19.8223, 12.4673, 64.2998)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AD5 #BAD54A
analogous
#4A75D5 #654AD5 #AB4AD5
triadic
#654AD5 #D5654A #4AD565
tetradic
#654AD5 #D54A75 #BAD54A #4AD5AB
square
#654AD5 #D54A75 #BAD54A #4AD5AB
split-complementary
#654AD5 #D5AB4A #75D54A
monochromatic
#331F86 #462BB7 #654AD5 #8F7CE1 #BAADEC

Accessibility & contrast

On white

6.01
#654AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#654AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AD5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AD5#FFFFFF#000000##FFFFFF
##654AD51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#386D89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654ad5;
/* rgb */ color: rgb(101, 74, 213);
/* oklch */ color: oklch(52.0% 0.203 285.9);
Tailwind
colors: {
  custom: {
    50: '#9b7ee3',
    500: '#654ad5',
    950: '#000000',
  },
}
SCSS
$custom: #654ad5;
$custom-light: #9b7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#654ad5",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 251.655,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.20262,
    "h": 285.9
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#654AD5
secondary
#CFDAA1
accent
#E542C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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