#654AEF#654AEF

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

Color values

HEX#654AEF
RGBrgb(101, 74, 239)
HSLhsl(250, 84%, 61%)
HSVhsv(250, 69%, 94%)
CMYKcmyk(57.7%, 69%, 0%, 6.3%)
CIE-LABlab(44.08, 54.36, -79.18)
CIE-LCHlch(44.08, 96.04, 304.47°)
OKLaboklab(54.15% 0.0516 -0.228)
OKLCHoklch(54.15% 0.234 282.8)
XYZxyz(23.3908, 13.8947, 83.0940)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AEF #D4EF4A
analogous
#4A82EF #654AEF #B84AEF
triadic
#654AEF #EF654A #4AEF65
tetradic
#654AEF #EF4A82 #D4EF4A #4AEFB8
square
#654AEF #EF4A82 #D4EF4A #4AEFB8
split-complementary
#654AEF #EFB84A #82EF4A
monochromatic
#2A0FAF #3714E7 #654AEF #9582F4 #C5BAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654AEF#FFFFFF#000000##FFFFFF
##654AEF1.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)
#006DF4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#0C7697
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654aef;
/* rgb */ color: rgb(101, 74, 239);
/* oklch */ color: oklch(54.1% 0.234 282.8);
Tailwind
colors: {
  custom: {
    50: '#9e7ff5',
    500: '#654aef',
    950: '#000000',
  },
}
SCSS
$custom: #654aef;
$custom-light: #9e7ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#654aef",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 249.818,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.2338,
    "h": 282.8
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#654AEF
secondary
#DFE9AC
accent
#E005BC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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