#654FE7#654FE7

#654FE7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.219 H 282.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#654FE7
RGBrgb(101, 79, 231)
HSLhsl(249, 76%, 61%)
HSVhsv(249, 66%, 91%)
CMYKcmyk(56.3%, 65.8%, 0%, 9.4%)
CIE-LABlab(44.41, 49.27, -74.12)
CIE-LCHlch(44.41, 89.00, 303.62°)
OKLaboklab(54.18% 0.0488 -0.2132)
OKLCHoklch(54.18% 0.219 282.9)
XYZxyz(22.5822, 14.1268, 77.1226)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FE7 #D1E74F
analogous
#4F85E7 #654FE7 #B14FE7
triadic
#654FE7 #E7654F #4FE765
tetradic
#654FE7 #E74F85 #D1E74F #4FE7B1
square
#654FE7 #E74F85 #D1E74F #4FE7B1
split-complementary
#654FE7 #E7B14F #85E74F
monochromatic
#2B17A5 #391EDB #654FE7 #9485EE #C3BBF6

Accessibility & contrast

On white

5.49
#654FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#654FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FE7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FE7#FFFFFF#000000##FFFFFF
##654FE71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#207694
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #654fe7;
/* rgb */ color: rgb(101, 79, 231);
/* oklch */ color: oklch(54.2% 0.219 282.9);
Tailwind
colors: {
  custom: {
    50: '#9d82f0',
    500: '#654fe7',
    950: '#000000',
  },
}
SCSS
$custom: #654fe7;
$custom-light: #9d82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#654fe7",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 248.684,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.21871,
    "h": 282.9
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#654FE7
secondary
#DDE6AC
accent
#D80DBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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