#654FE4#654FE4

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

Color values

HEX#654FE4
RGBrgb(101, 79, 228)
HSLhsl(249, 73%, 60%)
HSVhsv(249, 65%, 89%)
CMYKcmyk(55.7%, 65.4%, 0%, 10.6%)
CIE-LABlab(44.17, 48.38, -72.81)
CIE-LCHlch(44.17, 87.42, 303.60°)
OKLaboklab(53.93% 0.0491 -0.2094)
OKLCHoklch(53.93% 0.215 283.2)
XYZxyz(22.1621, 13.9587, 74.9102)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FE4 #CEE44F
analogous
#4F83E4 #654FE4 #AF4FE4
triadic
#654FE4 #E4654F #4FE465
tetradic
#654FE4 #E44F83 #CEE44F #4FE4AF
square
#654FE4 #E44F83 #CEE44F #4FE4AF
split-complementary
#654FE4 #E4AF4F #83E44F
monochromatic
#2D19A0 #3B21D5 #654FE4 #9384EC #C2B9F4

Accessibility & contrast

On white

5.54
#654FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654FE4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FE4#FFFFFF#000000##FFFFFF
##654FE41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#257593
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654fe4;
/* rgb */ color: rgb(101, 79, 228);
/* oklch */ color: oklch(53.9% 0.215 283.2);
Tailwind
colors: {
  custom: {
    50: '#9c82ee',
    500: '#654fe4',
    950: '#000000',
  },
}
SCSS
$custom: #654fe4;
$custom-light: #9c82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#654fe4",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 248.859,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53932,
    "c": 0.21505,
    "h": 283.2
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#654FE4
secondary
#DCE4AB
accent
#D610B8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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