#654FE5#654FE5

#654FE5 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.0% C 0.216 H 283.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#654FE5
RGBrgb(101, 79, 229)
HSLhsl(249, 74%, 60%)
HSVhsv(249, 66%, 90%)
CMYKcmyk(55.9%, 65.5%, 0%, 10.2%)
CIE-LABlab(44.25, 48.68, -73.25)
CIE-LCHlch(44.25, 87.95, 303.61°)
OKLaboklab(54.02% 0.049 -0.2106)
OKLCHoklch(54.02% 0.216 283.1)
XYZxyz(22.3013, 14.0144, 75.6435)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FE5 #CFE54F
analogous
#4F84E5 #654FE5 #B04FE5
triadic
#654FE5 #E5654F #4FE565
tetradic
#654FE5 #E54F84 #CFE54F #4FE5B0
square
#654FE5 #E54F84 #CFE54F #4FE5B0
split-complementary
#654FE5 #E5B04F #84E54F
monochromatic
#2C18A2 #3B20D7 #654FE5 #9484ED #C2BAF5

Accessibility & contrast

On white

5.52
#654FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#654FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FE5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FE5#FFFFFF#000000##FFFFFF
##654FE51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#247593
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #654fe5;
/* rgb */ color: rgb(101, 79, 229);
/* oklch */ color: oklch(54.0% 0.216 283.1);
Tailwind
colors: {
  custom: {
    50: '#9d82ee',
    500: '#654fe5',
    950: '#000000',
  },
}
SCSS
$custom: #654fe5;
$custom-light: #9d82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#654fe5",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 248.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.21627,
    "h": 283.1
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#654FE5
secondary
#DCE5AB
accent
#D60FB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #654FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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