#654CC2#654CC2

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

Color values

HEX#654CC2
RGBrgb(101, 76, 194)
HSLhsl(253, 49%, 53%)
HSVhsv(253, 61%, 76%)
CMYKcmyk(47.9%, 60.8%, 0%, 23.9%)
CIE-LABlab(40.94, 40.00, -58.53)
CIE-LCHlch(40.94, 70.89, 304.35°)
OKLaboklab(50.78% 0.0551 -0.1674)
OKLCHoklch(50.78% 0.176 288.2)
XYZxyz(17.6861, 11.8299, 52.3800)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CC2 #A9C24C
analogous
#4C6EC2 #654CC2 #A04CC2
triadic
#654CC2 #C2654C #4CC265
tetradic
#654CC2 #C24C6E #A9C24C #4CC2A0
square
#654CC2 #C24C6E #A9C24C #4CC2A0
split-complementary
#654CC2 #C2A04C #6EC24C
monochromatic
#35266E #4B359C #654CC2 #8C7AD2 #B4A7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654CC2#FFFFFF#000000##FFFFFF
##654CC21.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)
#0063C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#466780
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654cc2;
/* rgb */ color: rgb(101, 76, 194);
/* oklch */ color: oklch(50.8% 0.176 288.2);
Tailwind
colors: {
  custom: {
    50: '#987fd5',
    500: '#654cc2',
    950: '#000000',
  },
}
SCSS
$custom: #654cc2;
$custom-light: #987fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#654cc2",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 252.712,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.17623,
    "h": 288.2
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#654CC2
secondary
#C4CE9B
accent
#D94FBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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