#654CE9#654CE9

#654CE9 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.9% C 0.225 H 283.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#654CE9
RGBrgb(101, 76, 233)
HSLhsl(250, 78%, 61%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(56.7%, 67.4%, 0%, 8.6%)
CIE-LABlab(43.97, 51.52, -75.98)
CIE-LCHlch(43.97, 91.80, 304.14°)
OKLaboklab(53.91% 0.051 -0.2186)
OKLCHoklch(53.91% 0.225 283.1)
XYZxyz(22.6547, 13.8173, 78.5482)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CE9 #D0E94C
analogous
#4C81E9 #654CE9 #B34CE9
triadic
#654CE9 #E9654C #4CE965
tetradic
#654CE9 #E94C81 #D0E94C #4CE9B3
square
#654CE9 #E94C81 #D0E94C #4CE9B3
split-complementary
#654CE9 #E9B34C #81E94C
monochromatic
#2C14A6 #3A1BDD #654CE9 #9483F0 #C3B9F6

Accessibility & contrast

On white

5.58
#654CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#654CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CE9
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CE9#FFFFFF#000000##FFFFFF
##654CE91.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#1D7594
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654ce9;
/* rgb */ color: rgb(101, 76, 233);
/* oklch */ color: oklch(53.9% 0.225 283.1);
Tailwind
colors: {
  custom: {
    50: '#9d80f1',
    500: '#654ce9',
    950: '#000000',
  },
}
SCSS
$custom: #654ce9;
$custom-light: #9d80f1;
$custom-dark: #000000;
JSON
{
  "hex": "#654ce9",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 249.554,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.22452,
    "h": 283.1
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#654CE9
secondary
#DDE6AB
accent
#DA0BB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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