#654CC3#654CC3

#654CC3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.178 H 288.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#654CC3
RGBrgb(101, 76, 195)
HSLhsl(253, 50%, 53%)
HSVhsv(253, 61%, 76%)
CMYKcmyk(48.2%, 61%, 0%, 23.5%)
CIE-LABlab(41.02, 40.30, -59.00)
CIE-LCHlch(41.02, 71.44, 304.33°)
OKLaboklab(50.85% 0.055 -0.1688)
OKLCHoklch(50.85% 0.178 288.1)
XYZxyz(17.7987, 11.8750, 52.9734)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CC3 #AAC34C
analogous
#4C6EC3 #654CC3 #A04CC3
triadic
#654CC3 #C3654C #4CC365
tetradic
#654CC3 #C34C6E #AAC34C #4CC3A0
square
#654CC3 #C34C6E #AAC34C #4CC3A0
split-complementary
#654CC3 #C3A04C #6EC34C
monochromatic
#35256F #4B359D #654CC3 #8C7AD2 #B4A8E2

Accessibility & contrast

On white

6.22
#654CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#654CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CC3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CC3#FFFFFF#000000##FFFFFF
##654CC31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#456880
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654cc3;
/* rgb */ color: rgb(101, 76, 195);
/* oklch */ color: oklch(50.9% 0.178 288.1);
Tailwind
colors: {
  custom: {
    50: '#987fd6',
    500: '#654cc3',
    950: '#000000',
  },
}
SCSS
$custom: #654cc3;
$custom-light: #987fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#654cc3",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 252.605,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.17751,
    "h": 288.1
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#654CC3
secondary
#C4CF9C
accent
#D94EBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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