#654EDA#654EDA

#654EDA is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.204 H 284.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#654EDA
RGBrgb(101, 78, 218)
HSLhsl(250, 65%, 58%)
HSVhsv(250, 64%, 85%)
CMYKcmyk(53.7%, 64.2%, 0%, 14.5%)
CIE-LABlab(43.18, 45.96, -68.75)
CIE-LCHlch(43.18, 82.69, 303.76°)
OKLaboklab(52.97% 0.0512 -0.1974)
OKLCHoklch(52.97% 0.204 284.5)
XYZxyz(20.7423, 13.2763, 67.7857)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EDA #C3DA4E
analogous
#4E7DDA #654EDA #AB4EDA
triadic
#654EDA #DA654E #4EDA65
tetradic
#654EDA #DA4E7D #C3DA4E #4EDAAB
square
#654EDA #DA4E7D #C3DA4E #4EDAAB
split-complementary
#654EDA #DAAB4E #7DDA4E
monochromatic
#311E90 #4229C2 #654EDA #9181E5 #BDB3EF

Accessibility & contrast

On white

5.74
#654EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#654EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EDA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EDA#FFFFFF#000000##FFFFFF
##654EDA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#32718D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654eda;
/* rgb */ color: rgb(101, 78, 218);
/* oklch */ color: oklch(53.0% 0.204 284.5);
Tailwind
colors: {
  custom: {
    50: '#9b81e6',
    500: '#654eda',
    950: '#000000',
  },
}
SCSS
$custom: #654eda;
$custom-light: #9b81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#654eda",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 249.857,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.20394,
    "h": 284.5
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#654EDA
secondary
#D5DEA6
accent
#E83FCD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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