#654CE4#654CE4

#654CE4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.5% C 0.219 H 283.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#654CE4
RGBrgb(101, 76, 228)
HSLhsl(250, 74%, 60%)
HSVhsv(250, 67%, 89%)
CMYKcmyk(55.7%, 66.7%, 0%, 10.6%)
CIE-LABlab(43.56, 50.04, -73.81)
CIE-LCHlch(43.56, 89.18, 304.14°)
OKLaboklab(53.49% 0.0517 -0.2123)
OKLCHoklch(53.49% 0.219 283.7)
XYZxyz(21.9506, 13.5357, 74.8397)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CE4 #CBE44C
analogous
#4C7FE4 #654CE4 #B14CE4
triadic
#654CE4 #E4654C #4CE465
tetradic
#654CE4 #E44C7F #CBE44C #4CE4B1
square
#654CE4 #E44C7F #CBE44C #4CE4B1
split-complementary
#654CE4 #E4B14C #7FE44C
monochromatic
#2E189E #3D20D3 #654CE4 #9381EC #C1B6F4

Accessibility & contrast

On white

5.66
#654CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#654CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CE4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CE4#FFFFFF#000000##FFFFFF
##654CE41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#267392
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654ce4;
/* rgb */ color: rgb(101, 76, 228);
/* oklch */ color: oklch(53.5% 0.219 283.7);
Tailwind
colors: {
  custom: {
    50: '#9d80ee',
    500: '#654ce4',
    950: '#000000',
  },
}
SCSS
$custom: #654ce4;
$custom-light: #9d80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#654ce4",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 249.868,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.21852,
    "h": 283.7
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#654CE4
secondary
#DAE3A8
accent
#F037D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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