#654CEA#654CEA

#654CEA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.0% C 0.226 H 283.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#654CEA
RGBrgb(101, 76, 234)
HSLhsl(249, 79%, 61%)
HSVhsv(249, 68%, 92%)
CMYKcmyk(56.8%, 67.5%, 0%, 8.2%)
CIE-LABlab(44.05, 51.82, -76.41)
CIE-LCHlch(44.05, 92.32, 304.14°)
OKLaboklab(54% 0.0509 -0.2199)
OKLCHoklch(54% 0.226 283)
XYZxyz(22.7980, 13.8746, 79.3027)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CEA #D1EA4C
analogous
#4C82EA #654CEA #B44CEA
triadic
#654CEA #EA654C #4CEA65
tetradic
#654CEA #EA4C82 #D1EA4C #4CEAB4
square
#654CEA #EA4C82 #D1EA4C #4CEAB4
split-complementary
#654CEA #EAB44C #82EA4C
monochromatic
#2B14A8 #391ADF #654CEA #9483F0 #C3BAF7

Accessibility & contrast

On white

5.56
#654CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#654CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CEA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CEA#FFFFFF#000000##FFFFFF
##654CEA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#1B7595
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654cea;
/* rgb */ color: rgb(101, 76, 234);
/* oklch */ color: oklch(54.0% 0.226 283.0);
Tailwind
colors: {
  custom: {
    50: '#9d80f2',
    500: '#654cea',
    950: '#000000',
  },
}
SCSS
$custom: #654cea;
$custom-light: #9d80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#654cea",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 234
  },
  "hsl": {
    "h": 249.494,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.22571,
    "h": 283
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#654CEA
secondary
#DDE7AB
accent
#DB0ABA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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