#654EF7#654EF7

#654EF7 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.4% C 0.239 H 281.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#654EF7
RGBrgb(101, 78, 247)
HSLhsl(248, 91%, 64%)
HSVhsv(248, 68%, 97%)
CMYKcmyk(59.1%, 68.4%, 0%, 3.1%)
CIE-LABlab(45.54, 54.58, -81.28)
CIE-LCHlch(45.54, 97.91, 303.88°)
OKLaboklab(55.4% 0.0473 -0.2342)
OKLCHoklch(55.4% 0.239 281.4)
XYZxyz(24.8745, 14.9291, 89.5485)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EF7 #E0F74E
analogous
#4E8BF7 #654EF7 #B94EF7
triadic
#654EF7 #F7654E #4EF765
tetradic
#654EF7 #F74E8B #E0F74E #4EF7B9
square
#654EF7 #F74E8B #E0F74E #4EF7B9
split-complementary
#654EF7 #F7B94E #8BF74E
monochromatic
#2209C2 #3213F4 #654EF7 #9889FA #CBC3FC

Accessibility & contrast

On white

5.27
#654EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#654EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EF7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EF7#FFFFFF#000000##FFFFFF
##654EF71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FC
Deuteranopia (green-blind)
#0066F4
Tritanopia (blue-blind)
#007B9D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #654ef7;
/* rgb */ color: rgb(101, 78, 247);
/* oklch */ color: oklch(55.4% 0.239 281.4);
Tailwind
colors: {
  custom: {
    50: '#9f82fb',
    500: '#654ef7',
    950: '#000000',
  },
}
SCSS
$custom: #654ef7;
$custom-light: #9f82fb;
$custom-dark: #000000;
JSON
{
  "hex": "#654ef7",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 248.166,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.23893,
    "h": 281.4
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#654EF7
secondary
#E6EEB3
accent
#E600C6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #654EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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