#654EE8#654EE8

#654EE8 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.1% C 0.221 H 282.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#654EE8
RGBrgb(101, 78, 232)
HSLhsl(249, 77%, 61%)
HSVhsv(249, 66%, 91%)
CMYKcmyk(56.5%, 66.4%, 0%, 9%)
CIE-LABlab(44.29, 50.13, -74.89)
CIE-LCHlch(44.29, 90.11, 303.80°)
OKLaboklab(54.12% 0.0495 -0.2154)
OKLCHoklch(54.12% 0.221 282.9)
XYZxyz(22.6522, 14.0402, 77.8447)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EE8 #D1E84E
analogous
#4E84E8 #654EE8 #B24EE8
triadic
#654EE8 #E8654E #4EE865
tetradic
#654EE8 #E84E84 #D1E84E #4EE8B2
square
#654EE8 #E84E84 #D1E84E #4EE8B2
split-complementary
#654EE8 #E8B24E #84E84E
monochromatic
#2B16A6 #391DDC #654EE8 #9484EF #C3BAF6

Accessibility & contrast

On white

5.51
#654EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#654EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EE8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EE8#FFFFFF#000000##FFFFFF
##654EE81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#1E7695
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #654ee8;
/* rgb */ color: rgb(101, 78, 232);
/* oklch */ color: oklch(54.1% 0.221 282.9);
Tailwind
colors: {
  custom: {
    50: '#9d81f0',
    500: '#654ee8',
    950: '#000000',
  },
}
SCSS
$custom: #654ee8;
$custom-light: #9d81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#654ee8",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 248.961,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.22106,
    "h": 282.9
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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