#654FC5#654FC5

#654FC5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.176 H 287.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#654FC5
RGBrgb(101, 79, 197)
HSLhsl(251, 50%, 54%)
HSVhsv(251, 60%, 77%)
CMYKcmyk(48.7%, 59.9%, 0%, 22.7%)
CIE-LABlab(41.83, 39.13, -58.84)
CIE-LCHlch(41.83, 70.67, 303.63°)
OKLaboklab(51.49% 0.0517 -0.1683)
OKLCHoklch(51.49% 0.176 287.1)
XYZxyz(18.2379, 12.3891, 54.2429)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FC5 #AFC54F
analogous
#4F74C5 #654FC5 #A04FC5
triadic
#654FC5 #C5654F #4FC565
tetradic
#654FC5 #C54F74 #AFC54F #4FC5A0
square
#654FC5 #C54F74 #AFC54F #4FC5A0
split-complementary
#654FC5 #C5A04F #74C54F
monochromatic
#352674 #4935A2 #654FC5 #8D7DD4 #B6ABE3

Accessibility & contrast

On white

6.04
#654FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#654FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FC5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FC5#FFFFFF#000000##FFFFFF
##654FC51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#446A82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654fc5;
/* rgb */ color: rgb(101, 79, 197);
/* oklch */ color: oklch(51.5% 0.176 287.1);
Tailwind
colors: {
  custom: {
    50: '#9881d7',
    500: '#654fc5',
    950: '#000000',
  },
}
SCSS
$custom: #654fc5;
$custom-light: #9881d7;
$custom-dark: #000000;
JSON
{
  "hex": "#654fc5",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 251.186,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.17607,
    "h": 287.1
  },
  "luminance": 0.1239
}

Semantic roles & 50–950 ramp

primary
#654FC5
secondary
#C8D19F
accent
#DA4EC0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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