#654FE3#654FE3

#654FE3 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.214 H 283.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#654FE3
RGBrgb(101, 79, 227)
HSLhsl(249, 73%, 60%)
HSVhsv(249, 65%, 89%)
CMYKcmyk(55.5%, 65.2%, 0%, 11%)
CIE-LABlab(44.09, 48.08, -72.37)
CIE-LCHlch(44.09, 86.89, 303.60°)
OKLaboklab(53.85% 0.0493 -0.2081)
OKLCHoklch(53.85% 0.214 283.3)
XYZxyz(22.0237, 13.9034, 74.1813)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FE3 #CDE34F
analogous
#4F83E3 #654FE3 #AF4FE3
triadic
#654FE3 #E3654F #4FE365
tetradic
#654FE3 #E34F83 #CDE34F #4FE3AF
square
#654FE3 #E34F83 #CDE34F #4FE3AF
split-complementary
#654FE3 #E3AF4F #83E34F
monochromatic
#2D199E #3C22D3 #654FE3 #9384EB #C1B9F4

Accessibility & contrast

On white

5.55
#654FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654FE3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FE3#FFFFFF#000000##FFFFFF
##654FE31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#277492
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654fe3;
/* rgb */ color: rgb(101, 79, 227);
/* oklch */ color: oklch(53.8% 0.214 283.3);
Tailwind
colors: {
  custom: {
    50: '#9c82ed',
    500: '#654fe3',
    950: '#000000',
  },
}
SCSS
$custom: #654fe3;
$custom-light: #9c82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#654fe3",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 248.919,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.21383,
    "h": 283.3
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#654FE3
secondary
#DBE3AA
accent
#EF39D4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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