#654AC3#654AC3

#654AC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.5% C 0.180 H 288.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#654AC3
RGBrgb(101, 74, 195)
HSLhsl(253, 50%, 53%)
HSVhsv(253, 62%, 76%)
CMYKcmyk(48.2%, 62.1%, 0%, 23.5%)
CIE-LABlab(40.58, 41.45, -59.71)
CIE-LCHlch(40.58, 72.69, 304.77°)
OKLaboklab(50.53% 0.0572 -0.1708)
OKLCHoklch(50.53% 0.18 288.5)
XYZxyz(17.6631, 11.6036, 52.9282)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AC3 #A8C34A
analogous
#4A6CC3 #654AC3 #A14AC3
triadic
#654AC3 #C3654A #4AC365
tetradic
#654AC3 #C34A6C #A8C34A #4AC3A1
square
#654AC3 #C34A6C #A8C34A #4AC3A1
split-complementary
#654AC3 #C3A14A #6CC34A
monochromatic
#35246E #4B349C #654AC3 #8C78D2 #B3A6E1

Accessibility & contrast

On white

6.32
#654AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#654AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AC3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AC3#FFFFFF#000000##FFFFFF
##654AC31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#46667F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654ac3;
/* rgb */ color: rgb(101, 74, 195);
/* oklch */ color: oklch(50.5% 0.180 288.5);
Tailwind
colors: {
  custom: {
    50: '#987ed6',
    500: '#654ac3',
    950: '#000000',
  },
}
SCSS
$custom: #654ac3;
$custom-light: #987ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#654ac3",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 253.388,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.18016,
    "h": 288.5
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#654AC3
secondary
#C3CF9A
accent
#DA4EBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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