#654FA5#654FA5

#654FA5 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.2% C 0.133 H 292.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#654FA5
RGBrgb(101, 79, 165)
HSLhsl(255, 35%, 48%)
HSVhsv(255, 52%, 65%)
CMYKcmyk(38.8%, 52.1%, 0%, 35.3%)
CIE-LABlab(39.71, 29.80, -43.44)
CIE-LCHlch(39.71, 52.68, 304.45°)
OKLaboklab(49.25% 0.0513 -0.123)
OKLCHoklch(49.25% 0.133 292.6)
XYZxyz(14.9525, 11.0749, 36.9399)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FA5 #8FA54F
analogous
#4F64A5 #654FA5 #904FA5
triadic
#654FA5 #A5654F #4FA565
tetradic
#654FA5 #A54F64 #8FA54F #4FA590
square
#654FA5 #A54F64 #8FA54F #4FA590
split-complementary
#654FA5 #A5904F #64A54F
monochromatic
#322752 #4C3B7C #654FA5 #8775BD #AB9ED1

Accessibility & contrast

On white

6.53
#654FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#654FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FA5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FA5#FFFFFF#000000##FFFFFF
##654FA51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#556072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654fa5;
/* rgb */ color: rgb(101, 79, 165);
/* oklch */ color: oklch(49.2% 0.133 292.6);
Tailwind
colors: {
  custom: {
    50: '#9481c0',
    500: '#654fa5',
    950: '#000000',
  },
}
SCSS
$custom: #654fa5;
$custom-light: #9481c0;
$custom-dark: #000000;
JSON
{
  "hex": "#654fa5",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 255.349,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.1333,
    "h": 292.6
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#654FA5
secondary
#B2BD92
accent
#CB5DAF
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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