#654FDF#654FDF

#654FDF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.209 H 283.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#654FDF
RGBrgb(101, 79, 223)
HSLhsl(249, 69%, 59%)
HSVhsv(249, 65%, 87%)
CMYKcmyk(54.7%, 64.6%, 0%, 12.5%)
CIE-LABlab(43.78, 46.88, -70.62)
CIE-LCHlch(43.78, 84.76, 303.58°)
OKLaboklab(53.52% 0.0497 -0.2029)
OKLCHoklch(53.52% 0.209 283.8)
XYZxyz(21.4780, 13.6851, 71.3075)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FDF #C9DF4F
analogous
#4F81DF #654FDF #AD4FDF
triadic
#654FDF #DF654F #4FDF65
tetradic
#654FDF #DF4F81 #C9DF4F #4FDFAD
square
#654FDF #DF4F81 #C9DF4F #4FDFAD
split-complementary
#654FDF #DFAD4F #81DF4F
monochromatic
#2F1C98 #3F25CC #654FDF #9283E8 #C0B7F2

Accessibility & contrast

On white

5.62
#654FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#654FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FDF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FDF#FFFFFF#000000##FFFFFF
##654FDF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#2C7390
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654fdf;
/* rgb */ color: rgb(101, 79, 223);
/* oklch */ color: oklch(53.5% 0.209 283.8);
Tailwind
colors: {
  custom: {
    50: '#9c82ea',
    500: '#654fdf',
    950: '#000000',
  },
}
SCSS
$custom: #654fdf;
$custom-light: #9c82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#654fdf",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 249.167,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.20892,
    "h": 283.8
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#654FDF
secondary
#D8E1A9
accent
#EC3CD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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