#654EBB#654EBB

#654EBB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.164 H 288.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#654EBB
RGBrgb(101, 78, 187)
HSLhsl(253, 44%, 52%)
HSVhsv(253, 58%, 73%)
CMYKcmyk(46%, 58.3%, 0%, 26.7%)
CIE-LABlab(40.90, 36.77, -54.51)
CIE-LCHlch(40.90, 65.76, 304.00°)
OKLaboklab(50.59% 0.0531 -0.1556)
OKLCHoklch(50.59% 0.164 288.8)
XYZxyz(17.0583, 11.8027, 48.3834)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EBB #A4BB4E
analogous
#4E6DBB #654EBB #9C4EBB
triadic
#654EBB #BB654E #4EBB65
tetradic
#654EBB #BB4E6D #A4BB4E #4EBB9C
square
#654EBB #BB4E6D #A4BB4E #4EBB9C
split-complementary
#654EBB #BB9C4E #6DBB4E
monochromatic
#352867 #4C3993 #654EBB #8B7ACC #B2A6DD

Accessibility & contrast

On white

6.25
#654EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#654EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EBB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EBB#FFFFFF#000000##FFFFFF
##654EBB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#4A667D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654ebb;
/* rgb */ color: rgb(101, 78, 187);
/* oklch */ color: oklch(50.6% 0.164 288.8);
Tailwind
colors: {
  custom: {
    50: '#9780d0',
    500: '#654ebb',
    950: '#000000',
  },
}
SCSS
$custom: #654ebb;
$custom-light: #9780d0;
$custom-dark: #000000;
JSON
{
  "hex": "#654ebb",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 252.661,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.16439,
    "h": 288.8
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#654EBB
secondary
#C0CA9B
accent
#D454B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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