#654AFF#654AFF

#654AFF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.6% C 0.252 H 281.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#654AFF
RGBrgb(101, 74, 255)
HSLhsl(249, 100%, 65%)
HSVhsv(249, 71%, 100%)
CMYKcmyk(60.4%, 71%, 0%, 0%)
CIE-LABlab(45.47, 59.02, -85.86)
CIE-LCHlch(45.47, 104.19, 304.51°)
OKLaboklab(55.56% 0.0487 -0.2476)
OKLCHoklch(55.56% 0.252 281.1)
XYZxyz(25.8599, 14.8824, 96.0982)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AFF #E4FF4A
analogous
#4A8AFF #654AFF #BF4AFF
triadic
#654AFF #FF654A #4AFF65
tetradic
#654AFF #FF4A8A #E4FF4A #4AFFBF
square
#654AFF #FF4A8A #E4FF4A #4AFFBF
split-complementary
#654AFF #FFBF4A #8AFF4A
monochromatic
#1F00CF #310DFF #654AFF #9987FF #CDC4FF

Accessibility & contrast

On white

5.28
#654AFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#654AFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AFF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AFF#FFFFFF#000000##FFFFFF
##654AFF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#007CA0
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #654aff;
/* rgb */ color: rgb(101, 74, 255);
/* oklch */ color: oklch(55.6% 0.252 281.1);
Tailwind
colors: {
  custom: {
    50: '#a17fff',
    500: '#654aff',
    950: '#000000',
  },
}
SCSS
$custom: #654aff;
$custom-light: #a17fff;
$custom-dark: #000000;
JSON
{
  "hex": "#654aff",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 248.95,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.25233,
    "h": 281.1
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#654AFF
secondary
#E8F2B3
accent
#E600C3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #654AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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