#654FE2#654FE2

#654FE2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.213 H 283.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#654FE2
RGBrgb(101, 79, 226)
HSLhsl(249, 72%, 60%)
HSVhsv(249, 65%, 89%)
CMYKcmyk(55.3%, 65%, 0%, 11.4%)
CIE-LABlab(44.01, 47.78, -71.94)
CIE-LCHlch(44.01, 86.36, 303.59°)
OKLaboklab(53.77% 0.0494 -0.2068)
OKLCHoklch(53.77% 0.213 283.4)
XYZxyz(21.8861, 13.8483, 73.4565)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FE2 #CCE24F
analogous
#4F82E2 #654FE2 #AF4FE2
triadic
#654FE2 #E2654F #4FE265
tetradic
#654FE2 #E24F82 #CCE24F #4FE2AF
square
#654FE2 #E24F82 #CCE24F #4FE2AF
split-complementary
#654FE2 #E2AF4F #82E24F
monochromatic
#2D1A9D #3D22D1 #654FE2 #9384EB #C1B8F3

Accessibility & contrast

On white

5.57
#654FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#654FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FE2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FE2#FFFFFF#000000##FFFFFF
##654FE21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#287492
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #654fe2;
/* rgb */ color: rgb(101, 79, 226);
/* oklch */ color: oklch(53.8% 0.213 283.4);
Tailwind
colors: {
  custom: {
    50: '#9c82ec',
    500: '#654fe2',
    950: '#000000',
  },
}
SCSS
$custom: #654fe2;
$custom-light: #9c82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#654fe2",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 248.98,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.2126,
    "h": 283.4
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#654FE2
secondary
#DAE3AA
accent
#EE39D3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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