#654CC0#654CC0

#654CC0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.174 H 288.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#654CC0
RGBrgb(101, 76, 192)
HSLhsl(253, 48%, 53%)
HSVhsv(253, 60%, 75%)
CMYKcmyk(47.4%, 60.4%, 0%, 24.7%)
CIE-LABlab(40.80, 39.42, -57.60)
CIE-LCHlch(40.80, 69.79, 304.39°)
OKLaboklab(50.63% 0.0552 -0.1646)
OKLCHoklch(50.63% 0.174 288.5)
XYZxyz(17.4630, 11.7406, 51.2050)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CC0 #A7C04C
analogous
#4C6DC0 #654CC0 #9F4CC0
triadic
#654CC0 #C0654C #4CC065
tetradic
#654CC0 #C04C6D #A7C04C #4CC09F
square
#654CC0 #C04C6D #A7C04C #4CC09F
split-complementary
#654CC0 #C09F4C #6DC04C
monochromatic
#35266C #4B3699 #654CC0 #8C79D0 #B3A7E0

Accessibility & contrast

On white

6.27
#654CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#654CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CC0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CC0#FFFFFF#000000##FFFFFF
##654CC01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#47677F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654cc0;
/* rgb */ color: rgb(101, 76, 192);
/* oklch */ color: oklch(50.6% 0.174 288.5);
Tailwind
colors: {
  custom: {
    50: '#987fd4',
    500: '#654cc0',
    950: '#000000',
  },
}
SCSS
$custom: #654cc0;
$custom-light: #987fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#654cc0",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 252.931,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.17365,
    "h": 288.5
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#654CC0
secondary
#C2CD9B
accent
#D850BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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