#654BA3#654BA3

#654BA3 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.137 H 294.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#654BA3
RGBrgb(101, 75, 163)
HSLhsl(258, 37%, 47%)
HSVhsv(258, 54%, 64%)
CMYKcmyk(38%, 54%, 0%, 36.1%)
CIE-LABlab(38.63, 31.66, -43.98)
CIE-LCHlch(38.63, 54.19, 305.75°)
OKLaboklab(48.4% 0.0564 -0.1246)
OKLCHoklch(48.4% 0.137 294.3)
XYZxyz(14.4920, 10.4429, 35.8954)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BA3 #89A34B
analogous
#4B5DA3 #654BA3 #914BA3
triadic
#654BA3 #A3654B #4BA365
tetradic
#654BA3 #A34B5D #89A34B #4BA391
square
#654BA3 #A34B5D #89A34B #4BA391
split-complementary
#654BA3 #A3914B #5DA34B
monochromatic
#31244F #4B3879 #654BA3 #866FBD #A999D0

Accessibility & contrast

On white

6.80
#654BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#654BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BA3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BA3#FFFFFF#000000##FFFFFF
##654BA31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#565D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654ba3;
/* rgb */ color: rgb(101, 75, 163);
/* oklch */ color: oklch(48.4% 0.137 294.3);
Tailwind
colors: {
  custom: {
    50: '#947ebf',
    500: '#654ba3',
    950: '#000000',
  },
}
SCSS
$custom: #654ba3;
$custom-light: #947ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#654ba3",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 257.727,
    "s": 36.975,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.13678,
    "h": 294.3
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#654BA3
secondary
#AEBC8E
accent
#CD5BAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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