#654EBD#654EBD

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

Color values

HEX#654EBD
RGBrgb(101, 78, 189)
HSLhsl(252, 46%, 52%)
HSVhsv(252, 59%, 74%)
CMYKcmyk(46.6%, 58.7%, 0%, 25.9%)
CIE-LABlab(41.04, 37.36, -55.46)
CIE-LCHlch(41.04, 66.87, 303.97°)
OKLaboklab(50.73% 0.0531 -0.1584)
OKLCHoklch(50.73% 0.167 288.5)
XYZxyz(17.2739, 11.8889, 49.5189)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EBD #A6BD4E
analogous
#4E6FBD #654EBD #9C4EBD
triadic
#654EBD #BD654E #4EBD65
tetradic
#654EBD #BD4E6F #A6BD4E #4EBD9C
square
#654EBD #BD4E6F #A6BD4E #4EBD9C
split-complementary
#654EBD #BD9C4E #6FBD4E
monochromatic
#352769 #4B3896 #654EBD #8C7BCE #B3A7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654EBD#FFFFFF#000000##FFFFFF
##654EBD1.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)
#0063C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#49677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654ebd;
/* rgb */ color: rgb(101, 78, 189);
/* oklch */ color: oklch(50.7% 0.167 288.5);
Tailwind
colors: {
  custom: {
    50: '#9780d2',
    500: '#654ebd',
    950: '#000000',
  },
}
SCSS
$custom: #654ebd;
$custom-light: #9780d2;
$custom-dark: #000000;
JSON
{
  "hex": "#654ebd",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 252.432,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.16701,
    "h": 288.5
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#654EBD
secondary
#C2CC9B
accent
#D552BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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