#654FD7#654FD7

#654FD7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.9% C 0.199 H 284.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#654FD7
RGBrgb(101, 79, 215)
HSLhsl(250, 63%, 58%)
HSVhsv(250, 63%, 84%)
CMYKcmyk(53%, 63.3%, 0%, 15.7%)
CIE-LABlab(43.16, 44.49, -67.06)
CIE-LCHlch(43.16, 80.48, 303.56°)
OKLaboklab(52.88% 0.0505 -0.1925)
OKLCHoklch(52.88% 0.199 284.7)
XYZxyz(20.4249, 13.2638, 65.7607)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FD7 #C1D74F
analogous
#4F7DD7 #654FD7 #A94FD7
triadic
#654FD7 #D7654F #4FD765
tetradic
#654FD7 #D74F7D #C1D74F #4FD7A9
square
#654FD7 #D74F7D #C1D74F #4FD7A9
split-complementary
#654FD7 #D7A94F #7DD74F
monochromatic
#31208C #432BBE #654FD7 #9181E2 #BCB3EE

Accessibility & contrast

On white

5.75
#654FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#654FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FD7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FD7#FFFFFF#000000##FFFFFF
##654FD71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#35708C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654fd7;
/* rgb */ color: rgb(101, 79, 215);
/* oklch */ color: oklch(52.9% 0.199 284.7);
Tailwind
colors: {
  custom: {
    50: '#9a81e4',
    500: '#654fd7',
    950: '#000000',
  },
}
SCSS
$custom: #654fd7;
$custom-light: #9a81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#654fd7",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 249.706,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.19899,
    "h": 284.7
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#654FD7
secondary
#D3DCA6
accent
#E642CB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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