#654BB5#654BB5

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

Color values

HEX#654BB5
RGBrgb(101, 75, 181)
HSLhsl(255, 42%, 50%)
HSVhsv(255, 59%, 71%)
CMYKcmyk(44.2%, 58.6%, 0%, 29%)
CIE-LABlab(39.81, 36.80, -52.76)
CIE-LCHlch(39.81, 64.33, 304.90°)
OKLaboklab(49.65% 0.0567 -0.1504)
OKLCHoklch(49.65% 0.161 290.6)
XYZxyz(16.2211, 11.1345, 45.0016)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BB5 #9BB54B
analogous
#4B66B5 #654BB5 #9A4BB5
triadic
#654BB5 #B5654B #4BB565
tetradic
#654BB5 #B54B66 #9BB54B #4BB59A
square
#654BB5 #B54B66 #9BB54B #4BB59A
split-complementary
#654BB5 #B59A4B #66B54B
monochromatic
#35275F #4D398A #654BB5 #8A76C7 #AFA2D9

Accessibility & contrast

On white

6.51
#654BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#654BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BB5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BB5#FFFFFF#000000##FFFFFF
##654BB51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654bb5;
/* rgb */ color: rgb(101, 75, 181);
/* oklch */ color: oklch(49.7% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#967ecc',
    500: '#654bb5',
    950: '#000000',
  },
}
SCSS
$custom: #654bb5;
$custom-light: #967ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#654bb5",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 254.717,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.16074,
    "h": 290.6
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#654BB5
secondary
#BAC696
accent
#D256B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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