#654FD4#654FD4

#654FD4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.6% C 0.195 H 285.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#654FD4
RGBrgb(101, 79, 212)
HSLhsl(250, 61%, 57%)
HSVhsv(250, 63%, 83%)
CMYKcmyk(52.4%, 62.7%, 0%, 16.9%)
CIE-LABlab(42.93, 43.60, -65.71)
CIE-LCHlch(42.93, 78.86, 303.56°)
OKLaboklab(52.64% 0.0508 -0.1885)
OKLCHoklch(52.64% 0.195 285.1)
XYZxyz(20.0429, 13.1111, 63.7492)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FD4 #BED44F
analogous
#4F7BD4 #654FD4 #A84FD4
triadic
#654FD4 #D4654F #4FD465
tetradic
#654FD4 #D44F7B #BED44F #4FD4A8
square
#654FD4 #D44F7B #BED44F #4FD4A8
split-complementary
#654FD4 #D4A84F #7BD44F
monochromatic
#322187 #442DB9 #654FD4 #9080E0 #BBB1EC

Accessibility & contrast

On white

5.80
#654FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#654FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FD4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FD4#FFFFFF#000000##FFFFFF
##654FD41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#386F8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654fd4;
/* rgb */ color: rgb(101, 79, 212);
/* oklch */ color: oklch(52.6% 0.195 285.1);
Tailwind
colors: {
  custom: {
    50: '#9a81e2',
    500: '#654fd4',
    950: '#000000',
  },
}
SCSS
$custom: #654fd4;
$custom-light: #9a81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#654fd4",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 249.925,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.19522,
    "h": 285.1
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#654FD4
secondary
#D1DAA4
accent
#E444C9
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #654FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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