#654FC4#654FC4

#654FC4 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.175 H 287.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#654FC4
RGBrgb(101, 79, 196)
HSLhsl(251, 50%, 54%)
HSVhsv(251, 60%, 77%)
CMYKcmyk(48.5%, 59.7%, 0%, 23.1%)
CIE-LABlab(41.76, 38.84, -58.38)
CIE-LCHlch(41.76, 70.12, 303.63°)
OKLaboklab(51.42% 0.0517 -0.1669)
OKLCHoklch(51.42% 0.175 287.2)
XYZxyz(18.1237, 12.3434, 53.6414)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FC4 #AEC44F
analogous
#4F74C4 #654FC4 #A04FC4
triadic
#654FC4 #C4654F #4FC465
tetradic
#654FC4 #C44F74 #AEC44F #4FC4A0
square
#654FC4 #C44F74 #AEC44F #4FC4A0
split-complementary
#654FC4 #C4A04F #74C44F
monochromatic
#352672 #4A36A0 #654FC4 #8D7DD3 #B5ABE3

Accessibility & contrast

On white

6.05
#654FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#654FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FC4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FC4#FFFFFF#000000##FFFFFF
##654FC41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#456A82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654fc4;
/* rgb */ color: rgb(101, 79, 196);
/* oklch */ color: oklch(51.4% 0.175 287.2);
Tailwind
colors: {
  custom: {
    50: '#9881d7',
    500: '#654fc4',
    950: '#000000',
  },
}
SCSS
$custom: #654fc4;
$custom-light: #9881d7;
$custom-dark: #000000;
JSON
{
  "hex": "#654fc4",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 251.282,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.17477,
    "h": 287.2
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#654FC4
secondary
#C7D09E
accent
#D94EBF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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