#654CB5#654CB5

#654CB5 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.159 H 290.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#654CB5
RGBrgb(101, 76, 181)
HSLhsl(254, 42%, 50%)
HSVhsv(254, 58%, 71%)
CMYKcmyk(44.2%, 58%, 0%, 29%)
CIE-LABlab(40.03, 36.21, -52.39)
CIE-LCHlch(40.03, 63.69, 304.65°)
OKLaboklab(49.82% 0.0555 -0.1493)
OKLCHoklch(49.82% 0.159 290.4)
XYZxyz(16.2894, 11.2712, 45.0244)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB5 #9CB54C
analogous
#4C67B5 #654CB5 #9A4CB5
triadic
#654CB5 #B5654C #4CB565
tetradic
#654CB5 #B54C67 #9CB54C #4CB59A
square
#654CB5 #B54C67 #9CB54C #4CB59A
split-complementary
#654CB5 #B59A4C #67B54C
monochromatic
#35275F #4D398B #654CB5 #8A77C7 #B0A3D9

Accessibility & contrast

On white

6.45
#654CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654CB5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB5#FFFFFF#000000##FFFFFF
##654CB51.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B8
Deuteranopia (green-blind)
#0F5CB3
Tritanopia (blue-blind)
#4E6379
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654cb5;
/* rgb */ color: rgb(101, 76, 181);
/* oklch */ color: oklch(49.8% 0.159 290.4);
Tailwind
colors: {
  custom: {
    50: '#967fcc',
    500: '#654cb5',
    950: '#000000',
  },
}
SCSS
$custom: #654cb5;
$custom-light: #967fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb5",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 254.286,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.15932,
    "h": 290.4
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#654CB5
secondary
#BBC697
accent
#D156B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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