#654CF7#654CF7

#654CF7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.1% C 0.241 H 281.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#654CF7
RGBrgb(101, 76, 247)
HSLhsl(249, 91%, 63%)
HSVhsv(249, 69%, 97%)
CMYKcmyk(59.1%, 69.2%, 0%, 3.1%)
CIE-LABlab(45.15, 55.64, -81.92)
CIE-LCHlch(45.15, 99.03, 304.19°)
OKLaboklab(55.12% 0.0488 -0.2361)
OKLCHoklch(55.12% 0.241 281.7)
XYZxyz(24.7345, 14.6493, 89.5018)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CF7 #DEF74C
analogous
#4C88F7 #654CF7 #BA4CF7
triadic
#654CF7 #F7654C #4CF765
tetradic
#654CF7 #F74C88 #DEF74C #4CF7BA
square
#654CF7 #F74C88 #DEF74C #4CF7BA
split-complementary
#654CF7 #F7BA4C #88F74C
monochromatic
#2309C0 #3311F4 #654CF7 #9787FA #CAC1FC

Accessibility & contrast

On white

5.34
#654CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#654CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CF7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CF7#FFFFFF#000000##FFFFFF
##654CF71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FC
Deuteranopia (green-blind)
#0065F4
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #654cf7;
/* rgb */ color: rgb(101, 76, 247);
/* oklch */ color: oklch(55.1% 0.241 281.7);
Tailwind
colors: {
  custom: {
    50: '#a080fb',
    500: '#654cf7',
    950: '#000000',
  },
}
SCSS
$custom: #654cf7;
$custom-light: #a080fb;
$custom-dark: #000000;
JSON
{
  "hex": "#654cf7",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 248.772,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.24104,
    "h": 281.7
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#654CF7
secondary
#E5EEB1
accent
#E600C4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #654CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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