#654EE6#654EE6

#654EE6 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.219 H 283.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#654EE6
RGBrgb(101, 78, 230)
HSLhsl(249, 75%, 60%)
HSVhsv(249, 66%, 90%)
CMYKcmyk(56.1%, 66.1%, 0%, 9.8%)
CIE-LABlab(44.13, 49.53, -74.02)
CIE-LCHlch(44.13, 89.06, 303.79°)
OKLaboklab(53.95% 0.0498 -0.2129)
OKLCHoklch(53.95% 0.219 283.2)
XYZxyz(22.3698, 13.9273, 76.3570)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EE6 #CFE64E
analogous
#4E83E6 #654EE6 #B14EE6
triadic
#654EE6 #E6654E #4EE665
tetradic
#654EE6 #E64E83 #CFE64E #4EE6B1
square
#654EE6 #E64E83 #CFE64E #4EE6B1
split-complementary
#654EE6 #E6B14E #83E64E
monochromatic
#2C17A3 #3B1FD8 #654EE6 #9484EE #C2B9F5

Accessibility & contrast

On white

5.55
#654EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#654EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EE6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EE6#FFFFFF#000000##FFFFFF
##654EE61.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#227593
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654ee6;
/* rgb */ color: rgb(101, 78, 230);
/* oklch */ color: oklch(53.9% 0.219 283.2);
Tailwind
colors: {
  custom: {
    50: '#9d81ef',
    500: '#654ee6',
    950: '#000000',
  },
}
SCSS
$custom: #654ee6;
$custom-light: #9d81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#654ee6",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 249.079,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.21865,
    "h": 283.2
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#654EE6
secondary
#DCE5AB
accent
#D70EB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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