#654EEB#654EEB

#654EEB is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.4% C 0.225 H 282.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#654EEB
RGBrgb(101, 78, 235)
HSLhsl(249, 80%, 61%)
HSVhsv(249, 67%, 92%)
CMYKcmyk(57%, 66.8%, 0%, 7.8%)
CIE-LABlab(44.54, 51.02, -76.18)
CIE-LCHlch(44.54, 91.69, 303.81°)
OKLaboklab(54.37% 0.0491 -0.2192)
OKLCHoklch(54.37% 0.225 282.6)
XYZxyz(23.0820, 14.2121, 80.1081)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EEB #D4EB4E
analogous
#4E86EB #654EEB #B44EEB
triadic
#654EEB #EB654E #4EEB65
tetradic
#654EEB #EB4E86 #D4EB4E #4EEBB4
square
#654EEB #EB4E86 #D4EB4E #4EEBB4
split-complementary
#654EEB #EBB44E #86EB4E
monochromatic
#2A13AB #371AE2 #654EEB #9585F1 #C5BCF7

Accessibility & contrast

On white

5.46
#654EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#654EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EEB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EEB#FFFFFF#000000##FFFFFF
##654EEB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#187796
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #654eeb;
/* rgb */ color: rgb(101, 78, 235);
/* oklch */ color: oklch(54.4% 0.225 282.6);
Tailwind
colors: {
  custom: {
    50: '#9e81f3',
    500: '#654eeb',
    950: '#000000',
  },
}
SCSS
$custom: #654eeb;
$custom-light: #9e81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#654eeb",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 248.79,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.22468,
    "h": 282.6
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#654EEB
secondary
#DFE8AD
accent
#DC09BD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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