#654AC9#654AC9

#654AC9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.188 H 287.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#654AC9
RGBrgb(101, 74, 201)
HSLhsl(253, 54%, 54%)
HSVhsv(253, 63%, 79%)
CMYKcmyk(49.8%, 63.2%, 0%, 21.2%)
CIE-LABlab(41.03, 43.21, -62.47)
CIE-LCHlch(41.03, 75.95, 304.67°)
OKLaboklab(51% 0.0567 -0.179)
OKLCHoklch(51% 0.188 287.6)
XYZxyz(18.3551, 11.8805, 56.5730)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AC9 #AEC94A
analogous
#4A6FC9 #654AC9 #A54AC9
triadic
#654AC9 #C9654A #4AC965
tetradic
#654AC9 #C94A6F #AEC94A #4AC9A5
square
#654AC9 #C94A6F #AEC94A #4AC9A5
split-complementary
#654AC9 #C9A54A #6FC94A
monochromatic
#352376 #4A31A5 #654AC9 #8D79D7 #B5A8E5

Accessibility & contrast

On white

6.22
#654AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#654AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AC9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AC9#FFFFFF#000000##FFFFFF
##654AC91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#426883
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654ac9;
/* rgb */ color: rgb(101, 74, 201);
/* oklch */ color: oklch(51.0% 0.188 287.6);
Tailwind
colors: {
  custom: {
    50: '#997eda',
    500: '#654ac9',
    950: '#000000',
  },
}
SCSS
$custom: #654ac9;
$custom-light: #997eda;
$custom-dark: #000000;
JSON
{
  "hex": "#654ac9",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 252.756,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.18774,
    "h": 287.6
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#654AC9
secondary
#C7D29C
accent
#DD4ABE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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