#654CB4#654CB4

#654CB4 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.158 H 290.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#654CB4
RGBrgb(101, 76, 180)
HSLhsl(254, 41%, 50%)
HSVhsv(254, 58%, 71%)
CMYKcmyk(43.9%, 57.8%, 0%, 29.4%)
CIE-LABlab(39.97, 35.92, -51.91)
CIE-LCHlch(39.97, 63.13, 304.68°)
OKLaboklab(49.75% 0.0555 -0.1479)
OKLCHoklch(49.75% 0.158 290.6)
XYZxyz(16.1872, 11.2303, 44.4860)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB4 #9BB44C
analogous
#4C67B4 #654CB4 #994CB4
triadic
#654CB4 #B4654C #4CB465
tetradic
#654CB4 #B44C67 #9BB44C #4CB499
square
#654CB4 #B44C67 #9BB44C #4CB499
split-complementary
#654CB4 #B4994C #67B44C
monochromatic
#35275E #4D3A89 #654CB4 #8A77C6 #AFA2D8

Accessibility & contrast

On white

6.47
#654CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#654CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CB4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB4#FFFFFF#000000##FFFFFF
##654CB41.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0860B7
Deuteranopia (green-blind)
#125CB2
Tritanopia (blue-blind)
#4E6378
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654cb4;
/* rgb */ color: rgb(101, 76, 180);
/* oklch */ color: oklch(49.7% 0.158 290.6);
Tailwind
colors: {
  custom: {
    50: '#967fcb',
    500: '#654cb4',
    950: '#000000',
  },
}
SCSS
$custom: #654cb4;
$custom-light: #967fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb4",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 254.423,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.158,
    "h": 290.6
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#654CB4
secondary
#BAC597
accent
#D157B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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