#654DC0#654DC0

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

Color values

HEX#654DC0
RGBrgb(101, 77, 192)
HSLhsl(253, 48%, 53%)
HSVhsv(253, 60%, 75%)
CMYKcmyk(47.4%, 59.9%, 0%, 24.7%)
CIE-LABlab(41.02, 38.83, -57.24)
CIE-LCHlch(41.02, 69.17, 304.15°)
OKLaboklab(50.79% 0.0541 -0.1636)
OKLCHoklch(50.79% 0.172 288.3)
XYZxyz(17.5324, 11.8795, 51.2281)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DC0 #A8C04D
analogous
#4D6EC0 #654DC0 #9F4DC0
triadic
#654DC0 #C0654D #4DC065
tetradic
#654DC0 #C04D6E #A8C04D #4DC09F
square
#654DC0 #C04D6E #A8C04D #4DC09F
split-complementary
#654DC0 #C09F4D #6EC04D
monochromatic
#35266C #4B3699 #654DC0 #8C7AD0 #B3A7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654DC0#FFFFFF#000000##FFFFFF
##654DC01.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)
#0063C4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#47677F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654dc0;
/* rgb */ color: rgb(101, 77, 192);
/* oklch */ color: oklch(50.8% 0.172 288.3);
Tailwind
colors: {
  custom: {
    50: '#9880d4',
    500: '#654dc0',
    950: '#000000',
  },
}
SCSS
$custom: #654dc0;
$custom-light: #9880d4;
$custom-dark: #000000;
JSON
{
  "hex": "#654dc0",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 252.522,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.1723,
    "h": 288.3
  },
  "luminance": 0.1188
}

Semantic roles & 50–950 ramp

primary
#654DC0
secondary
#C3CD9B
accent
#D750BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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