#654BC5#654BC5

#654BC5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.181 H 288.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#654BC5
RGBrgb(101, 75, 197)
HSLhsl(253, 51%, 53%)
HSVhsv(253, 62%, 77%)
CMYKcmyk(48.7%, 61.9%, 0%, 22.7%)
CIE-LABlab(40.94, 41.46, -60.28)
CIE-LCHlch(40.94, 73.16, 304.52°)
OKLaboklab(50.84% 0.056 -0.1725)
OKLCHoklch(50.84% 0.181 288)
XYZxyz(17.9580, 11.8293, 54.1496)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC5 #ABC54B
analogous
#4B6EC5 #654BC5 #A24BC5
triadic
#654BC5 #C5654B #4BC565
tetradic
#654BC5 #C54B6E #ABC54B #4BC5A2
square
#654BC5 #C54B6E #ABC54B #4BC5A2
split-complementary
#654BC5 #C5A24B #6EC54B
monochromatic
#352471 #4A339F #654BC5 #8D79D4 #B4A8E3

Accessibility & contrast

On white

6.24
#654BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#654BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BC5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC5#FFFFFF#000000##FFFFFF
##654BC51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#446881
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654bc5;
/* rgb */ color: rgb(101, 75, 197);
/* oklch */ color: oklch(50.8% 0.181 288.0);
Tailwind
colors: {
  custom: {
    50: '#987ed7',
    500: '#654bc5',
    950: '#000000',
  },
}
SCSS
$custom: #654bc5;
$custom-light: #987ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc5",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 252.787,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50843,
    "c": 0.18138,
    "h": 288
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#654BC5
secondary
#C5D09C
accent
#DB4DBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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