#654DC5#654DC5

#654DC5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.179 H 287.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#654DC5
RGBrgb(101, 77, 197)
HSLhsl(252, 51%, 54%)
HSVhsv(252, 61%, 77%)
CMYKcmyk(48.7%, 60.9%, 0%, 22.7%)
CIE-LABlab(41.38, 40.30, -59.57)
CIE-LCHlch(41.38, 71.92, 304.08°)
OKLaboklab(51.16% 0.0539 -0.1704)
OKLCHoklch(51.16% 0.179 287.5)
XYZxyz(18.0958, 12.1049, 54.1955)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DC5 #ADC54D
analogous
#4D71C5 #654DC5 #A14DC5
triadic
#654DC5 #C5654D #4DC565
tetradic
#654DC5 #C54D71 #ADC54D #4DC5A1
square
#654DC5 #C54D71 #ADC54D #4DC5A1
split-complementary
#654DC5 #C5A14D #71C54D
monochromatic
#352572 #4A34A0 #654DC5 #8D7BD4 #B5A9E3

Accessibility & contrast

On white

6.14
#654DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#654DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DC5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DC5#FFFFFF#000000##FFFFFF
##654DC51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#446982
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654dc5;
/* rgb */ color: rgb(101, 77, 197);
/* oklch */ color: oklch(51.2% 0.179 287.5);
Tailwind
colors: {
  custom: {
    50: '#9880d7',
    500: '#654dc5',
    950: '#000000',
  },
}
SCSS
$custom: #654dc5;
$custom-light: #9880d7;
$custom-dark: #000000;
JSON
{
  "hex": "#654dc5",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 252,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.17874,
    "h": 287.5
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#654DC5
secondary
#C6D19D
accent
#DA4DBE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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