#654CE5#654CE5

#654CE5 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.6% C 0.220 H 283.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#654CE5
RGBrgb(101, 76, 229)
HSLhsl(250, 75%, 60%)
HSVhsv(250, 67%, 90%)
CMYKcmyk(55.9%, 66.8%, 0%, 10.2%)
CIE-LABlab(43.64, 50.34, -74.25)
CIE-LCHlch(43.64, 89.70, 304.14°)
OKLaboklab(53.57% 0.0516 -0.2136)
OKLCHoklch(53.57% 0.22 283.6)
XYZxyz(22.0898, 13.5914, 75.5729)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CE5 #CCE54C
analogous
#4C80E5 #654CE5 #B24CE5
triadic
#654CE5 #E5654C #4CE565
tetradic
#654CE5 #E54C80 #CCE54C #4CE5B2
square
#654CE5 #E54C80 #CCE54C #4CE5B2
split-complementary
#654CE5 #E5B24C #80E54C
monochromatic
#2D179F #3D1FD5 #654CE5 #9381ED #C1B7F5

Accessibility & contrast

On white

5.65
#654CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#654CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CE5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CE5#FFFFFF#000000##FFFFFF
##654CE51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#247392
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654ce5;
/* rgb */ color: rgb(101, 76, 229);
/* oklch */ color: oklch(53.6% 0.220 283.6);
Tailwind
colors: {
  custom: {
    50: '#9d80ee',
    500: '#654ce5',
    950: '#000000',
  },
}
SCSS
$custom: #654ce5;
$custom-light: #9d80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#654ce5",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 249.804,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.21972,
    "h": 283.6
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#654CE5
secondary
#DAE4A9
accent
#F137D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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