#654FD5#654FD5

#654FD5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.7% C 0.196 H 284.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#654FD5
RGBrgb(101, 79, 213)
HSLhsl(250, 61%, 57%)
HSVhsv(250, 63%, 84%)
CMYKcmyk(52.6%, 62.9%, 0%, 16.5%)
CIE-LABlab(43.01, 43.90, -66.16)
CIE-LCHlch(43.01, 79.40, 303.56°)
OKLaboklab(52.72% 0.0507 -0.1898)
OKLCHoklch(52.72% 0.196 284.9)
XYZxyz(20.1694, 13.1617, 64.4156)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FD5 #BFD54F
analogous
#4F7CD5 #654FD5 #A84FD5
triadic
#654FD5 #D5654F #4FD565
tetradic
#654FD5 #D54F7C #BFD54F #4FD5A8
square
#654FD5 #D54F7C #BFD54F #4FD5A8
split-complementary
#654FD5 #D5A84F #7CD54F
monochromatic
#322189 #442CBA #654FD5 #9080E1 #BBB2ED

Accessibility & contrast

On white

5.78
#654FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#654FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FD5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FD5#FFFFFF#000000##FFFFFF
##654FD51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#37708B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654fd5;
/* rgb */ color: rgb(101, 79, 213);
/* oklch */ color: oklch(52.7% 0.196 284.9);
Tailwind
colors: {
  custom: {
    50: '#9a81e3',
    500: '#654fd5',
    950: '#000000',
  },
}
SCSS
$custom: #654fd5;
$custom-light: #9a81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#654fd5",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 249.851,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.19648,
    "h": 284.9
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#654FD5
secondary
#D2DBA5
accent
#E543CA
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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