#654CB8#654CB8

#654CB8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.163 H 289.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#654CB8
RGBrgb(101, 76, 184)
HSLhsl(254, 43%, 51%)
HSVhsv(254, 59%, 72%)
CMYKcmyk(45.1%, 58.7%, 0%, 27.8%)
CIE-LABlab(40.24, 37.08, -53.82)
CIE-LCHlch(40.24, 65.36, 304.56°)
OKLaboklab(50.03% 0.0555 -0.1535)
OKLCHoklch(50.03% 0.163 289.9)
XYZxyz(16.6006, 11.3957, 46.6630)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB8 #9FB84C
analogous
#4C69B8 #654CB8 #9B4CB8
triadic
#654CB8 #B8654C #4CB865
tetradic
#654CB8 #B84C69 #9FB84C #4CB89B
square
#654CB8 #B84C69 #9FB84C #4CB89B
split-complementary
#654CB8 #B89B4C #69B84C
monochromatic
#352763 #4C388E #654CB8 #8B78C9 #B0A4DB

Accessibility & contrast

On white

6.40
#654CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#654CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CB8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB8#FFFFFF#000000##FFFFFF
##654CB81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#025CB6
Tritanopia (blue-blind)
#4C647A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654cb8;
/* rgb */ color: rgb(101, 76, 184);
/* oklch */ color: oklch(50.0% 0.163 289.9);
Tailwind
colors: {
  custom: {
    50: '#977fce',
    500: '#654cb8',
    950: '#000000',
  },
}
SCSS
$custom: #654cb8;
$custom-light: #977fce;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb8",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 253.889,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.16326,
    "h": 289.9
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#654CB8
secondary
#BDC898
accent
#D355B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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