#654FFB#654FFB

#654FFB is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.9% C 0.243 H 280.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#654FFB
RGBrgb(101, 79, 251)
HSLhsl(248, 96%, 65%)
HSVhsv(248, 69%, 98%)
CMYKcmyk(59.8%, 68.5%, 0%, 1.6%)
CIE-LABlab(46.07, 55.22, -82.64)
CIE-LCHlch(46.07, 99.40, 303.75°)
OKLaboklab(55.88% 0.0459 -0.2382)
OKLCHoklch(55.88% 0.243 280.9)
XYZxyz(25.5699, 15.3219, 92.8581)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FFB #E5FB4F
analogous
#4F8FFB #654FFB #BB4FFB
triadic
#654FFB #FB654F #4FFB65
tetradic
#654FFB #FB4F8F #E5FB4F #4FFBBB
square
#654FFB #FB4F8F #E5FB4F #4FFBBB
split-complementary
#654FFB #FBBB4F #8FFB4F
monochromatic
#1E05CB #3113FA #654FFB #998BFC #CEC7FE

Accessibility & contrast

On white

5.17
#654FFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#654FFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FFB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FFB#FFFFFF#000000##FFFFFF
##654FFB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0067F8
Tritanopia (blue-blind)
#007D9F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #654ffb;
/* rgb */ color: rgb(101, 79, 251);
/* oklch */ color: oklch(55.9% 0.243 280.9);
Tailwind
colors: {
  custom: {
    50: '#a082fe',
    500: '#654ffb',
    950: '#000000',
  },
}
SCSS
$custom: #654ffb;
$custom-light: #a082fe;
$custom-dark: #000000;
JSON
{
  "hex": "#654ffb",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 251
  },
  "hsl": {
    "h": 247.674,
    "s": 95.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.24257,
    "h": 280.9
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#654FFB
secondary
#E9F0B5
accent
#E600C8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #654FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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