#654FDC#654FDC

#654FDC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.205 H 284.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#654FDC
RGBrgb(101, 79, 220)
HSLhsl(249, 67%, 59%)
HSVhsv(249, 64%, 86%)
CMYKcmyk(54.1%, 64.1%, 0%, 13.7%)
CIE-LABlab(43.54, 45.99, -69.29)
CIE-LCHlch(43.54, 83.16, 303.57°)
OKLaboklab(53.28% 0.05 -0.199)
OKLCHoklch(53.28% 0.205 284.1)
XYZxyz(21.0772, 13.5248, 69.1962)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FDC #C6DC4F
analogous
#4F7FDC #654FDC #AB4FDC
triadic
#654FDC #DC654F #4FDC65
tetradic
#654FDC #DC4F7F #C6DC4F #4FDCAB
square
#654FDC #DC4F7F #C6DC4F #4FDCAB
split-complementary
#654FDC #DCAB4F #7FDC4F
monochromatic
#301D93 #4027C6 #654FDC #9282E6 #BEB5F0

Accessibility & contrast

On white

5.67
#654FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#654FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FDC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FDC#FFFFFF#000000##FFFFFF
##654FDC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#30728E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654fdc;
/* rgb */ color: rgb(101, 79, 220);
/* oklch */ color: oklch(53.3% 0.205 284.1);
Tailwind
colors: {
  custom: {
    50: '#9b82e8',
    500: '#654fdc',
    950: '#000000',
  },
}
SCSS
$custom: #654fdc;
$custom-light: #9b82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#654fdc",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 249.362,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.20521,
    "h": 284.1
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#654FDC
secondary
#D7DFA8
accent
#EA3ECF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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