#654DEB#654DEB

#654DEB is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.226 H 282.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#654DEB
RGBrgb(101, 77, 235)
HSLhsl(249, 80%, 61%)
HSVhsv(249, 67%, 92%)
CMYKcmyk(57%, 67.2%, 0%, 7.8%)
CIE-LABlab(44.33, 51.57, -76.51)
CIE-LCHlch(44.33, 92.26, 303.98°)
OKLaboklab(54.22% 0.0499 -0.2202)
OKLCHoklch(54.22% 0.226 282.8)
XYZxyz(23.0115, 14.0711, 80.0846)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DEB #D3EB4D
analogous
#4D84EB #654DEB #B44DEB
triadic
#654DEB #EB654D #4DEB65
tetradic
#654DEB #EB4D84 #D3EB4D #4DEBB4
square
#654DEB #EB4D84 #D3EB4D #4DEBB4
split-complementary
#654DEB #EBB44D #84EB4D
monochromatic
#2A13AA #3819E1 #654DEB #9584F1 #C4BBF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654DEB#FFFFFF#000000##FFFFFF
##654DEB1.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)
#006EF0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#187696
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #654deb;
/* rgb */ color: rgb(101, 77, 235);
/* oklch */ color: oklch(54.2% 0.226 282.8);
Tailwind
colors: {
  custom: {
    50: '#9e81f3',
    500: '#654deb',
    950: '#000000',
  },
}
SCSS
$custom: #654deb;
$custom-light: #9e81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#654deb",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 249.114,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.22579,
    "h": 282.8
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#654DEB
secondary
#DFE8AC
accent
#DC09BC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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