#654FD8#654FD8

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

Color values

HEX#654FD8
RGBrgb(101, 79, 216)
HSLhsl(250, 64%, 58%)
HSVhsv(250, 63%, 85%)
CMYKcmyk(53.2%, 63.4%, 0%, 15.3%)
CIE-LABlab(43.23, 44.79, -67.51)
CIE-LCHlch(43.23, 81.02, 303.57°)
OKLaboklab(52.96% 0.0504 -0.1938)
OKLCHoklch(52.96% 0.2 284.6)
XYZxyz(20.5537, 13.3154, 66.4395)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FD8 #C2D84F
analogous
#4F7DD8 #654FD8 #A94FD8
triadic
#654FD8 #D8654F #4FD865
tetradic
#654FD8 #D84F7D #C2D84F #4FD8A9
square
#654FD8 #D84F7D #C2D84F #4FD8A9
split-complementary
#654FD8 #D8A94F #7DD84F
monochromatic
#311F8D #422ABF #654FD8 #9181E3 #BDB3EE

Accessibility & contrast

On white

5.73
#654FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654FD8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FD8#FFFFFF#000000##FFFFFF
##654FD81.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#34718C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654fd8;
/* rgb */ color: rgb(101, 79, 216);
/* oklch */ color: oklch(53.0% 0.200 284.6);
Tailwind
colors: {
  custom: {
    50: '#9b81e5',
    500: '#654fd8',
    950: '#000000',
  },
}
SCSS
$custom: #654fd8;
$custom-light: #9b81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#654fd8",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 249.635,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.20023,
    "h": 284.6
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#654FD8
secondary
#D4DDA6
accent
#E741CC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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