#654DDF#654DDF

#654DDF is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.211 H 284.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#654DDF
RGBrgb(101, 77, 223)
HSLhsl(250, 70%, 59%)
HSVhsv(250, 65%, 87%)
CMYKcmyk(54.7%, 65.5%, 0%, 12.5%)
CIE-LABlab(43.36, 48.01, -71.30)
CIE-LCHlch(43.36, 85.95, 303.95°)
OKLaboklab(53.22% 0.0515 -0.2049)
OKLCHoklch(53.22% 0.211 284.1)
XYZxyz(21.3359, 13.4009, 71.2601)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DDF #C7DF4D
analogous
#4D7EDF #654DDF #AE4DDF
triadic
#654DDF #DF654D #4DDF65
tetradic
#654DDF #DF4D7E #C7DF4D #4DDFAE
square
#654DDF #DF4D7E #C7DF4D #4DDFAE
split-complementary
#654DDF #DFAE4D #7EDF4D
monochromatic
#2F1B97 #4024CA #654DDF #9281E8 #BFB5F2

Accessibility & contrast

On white

5.71
#654DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#654DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DDF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DDF#FFFFFF#000000##FFFFFF
##654DDF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#2D728F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ddf;
/* rgb */ color: rgb(101, 77, 223);
/* oklch */ color: oklch(53.2% 0.211 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c80ea',
    500: '#654ddf',
    950: '#000000',
  },
}
SCSS
$custom: #654ddf;
$custom-light: #9c80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#654ddf",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 249.863,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.21129,
    "h": 284.1
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#654DDF
secondary
#D7E1A7
accent
#EC3BCF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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