#654FEC#654FEC

#654FEC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.6% C 0.225 H 282.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#654FEC
RGBrgb(101, 79, 236)
HSLhsl(248, 81%, 62%)
HSVhsv(248, 67%, 93%)
CMYKcmyk(57.2%, 66.5%, 0%, 7.5%)
CIE-LABlab(44.82, 50.76, -76.28)
CIE-LCHlch(44.82, 91.63, 303.64°)
OKLaboklab(54.6% 0.0481 -0.2195)
OKLCHoklch(54.6% 0.225 282.4)
XYZxyz(23.2984, 14.4133, 80.8950)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FEC #D6EC4F
analogous
#4F87EC #654FEC #B44FEC
triadic
#654FEC #EC654F #4FEC65
tetradic
#654FEC #EC4F87 #D6EC4F #4FECB4
square
#654FEC #EC4F87 #D6EC4F #4FECB4
split-complementary
#654FEC #ECB44F #87EC4F
monochromatic
#2813AE #3519E5 #654FEC #9586F2 #C6BDF8

Accessibility & contrast

On white

5.41
#654FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#654FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FEC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FEC#FFFFFF#000000##FFFFFF
##654FEC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#157897
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #654fec;
/* rgb */ color: rgb(101, 79, 236);
/* oklch */ color: oklch(54.6% 0.225 282.4);
Tailwind
colors: {
  custom: {
    50: '#9e82f3',
    500: '#654fec',
    950: '#000000',
  },
}
SCSS
$custom: #654fec;
$custom-light: #9e82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#654fec",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 248.408,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.22475,
    "h": 282.4
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#654FEC
secondary
#E0E8AE
accent
#DD09BF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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