#654DF7#654DF7

#654DF7 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.3% C 0.240 H 281.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#654DF7
RGBrgb(101, 77, 247)
HSLhsl(248, 91%, 64%)
HSVhsv(248, 69%, 97%)
CMYKcmyk(59.1%, 68.8%, 0%, 3.1%)
CIE-LABlab(45.34, 55.11, -81.60)
CIE-LCHlch(45.34, 98.47, 304.03°)
OKLaboklab(55.26% 0.048 -0.2351)
OKLCHoklch(55.26% 0.24 281.5)
XYZxyz(24.8039, 14.7881, 89.5250)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DF7 #DFF74D
analogous
#4D8AF7 #654DF7 #BA4DF7
triadic
#654DF7 #F7654D #4DF765
tetradic
#654DF7 #F74D8A #DFF74D #4DF7BA
square
#654DF7 #F74D8A #DFF74D #4DF7BA
split-complementary
#654DF7 #F7BA4D #8AF74D
monochromatic
#2309C1 #3212F4 #654DF7 #9888FA #CAC2FC

Accessibility & contrast

On white

5.31
#654DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#654DF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DF7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DF7#FFFFFF#000000##FFFFFF
##654DF71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.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: #654df7;
/* rgb */ color: rgb(101, 77, 247);
/* oklch */ color: oklch(55.3% 0.240 281.5);
Tailwind
colors: {
  custom: {
    50: '#9f81fb',
    500: '#654df7',
    950: '#000000',
  },
}
SCSS
$custom: #654df7;
$custom-light: #9f81fb;
$custom-dark: #000000;
JSON
{
  "hex": "#654df7",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 247
  },
  "hsl": {
    "h": 248.471,
    "s": 91.398,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.23999,
    "h": 281.5
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#654DF7
secondary
#E6EEB2
accent
#E600C5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #654DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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