#654FEA#654FEA

#654FEA is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.4% C 0.222 H 282.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#654FEA
RGBrgb(101, 79, 234)
HSLhsl(249, 79%, 61%)
HSVhsv(249, 66%, 92%)
CMYKcmyk(56.8%, 66.2%, 0%, 8.2%)
CIE-LABlab(44.66, 50.17, -75.42)
CIE-LCHlch(44.66, 90.58, 303.63°)
OKLaboklab(54.43% 0.0484 -0.217)
OKLCHoklch(54.43% 0.222 282.6)
XYZxyz(23.0095, 14.2977, 79.3732)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FEA #D4EA4F
analogous
#4F87EA #654FEA #B34FEA
triadic
#654FEA #EA654F #4FEA65
tetradic
#654FEA #EA4F87 #D4EA4F #4FEAB3
square
#654FEA #EA4F87 #D4EA4F #4FEAB3
split-complementary
#654FEA #EAB34F #87EA4F
monochromatic
#2A14AA #371BE1 #654FEA #9586F1 #C5BCF7

Accessibility & contrast

On white

5.44
#654FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#654FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FEA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FEA#FFFFFF#000000##FFFFFF
##654FEA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#1A7796
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #654fea;
/* rgb */ color: rgb(101, 79, 234);
/* oklch */ color: oklch(54.4% 0.222 282.6);
Tailwind
colors: {
  custom: {
    50: '#9d82f2',
    500: '#654fea',
    950: '#000000',
  },
}
SCSS
$custom: #654fea;
$custom-light: #9d82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#654fea",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 248.516,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.22234,
    "h": 282.6
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#654FEA
secondary
#DFE7AD
accent
#DB0BBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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